File: debian-rust.patch

package info (click to toggle)
matrix-synapse 1.139.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 79,164 kB
  • sloc: python: 257,322; javascript: 7,311; sql: 4,727; sh: 1,177; perl: 626; makefile: 207
file content (21 lines) | stat: -rw-r--r-- 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Antonio Russo <aerusso@aerusso.net>
Date: Wed, 23 Aug 2023 19:41:58 -0600
Subject: Tell cargo to use debian registry

Modified by Peter Michael Green to include vendored sources.
---
 .cargo/config.toml | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 .cargo/config.toml

diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..279730b
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,5 @@
+[source.crates-io]
+replace-with = "dh-cargo-registry"
+
+[source.dh-cargo-registry]
+directory = "debian/cargo_registry"