Debian Codegraph @

debian/patches/relax-deps.patch

raw symbols SCIP
1 Description: Relax dependencies for Debian
2 Some of the build dependencies are only needed for Windows and macOS, let's
3 drop them entirely as we don't need them for Debian. Also, change the
4 `futures-lite` (used for autopkgtests) to a version compatible with Debian
5 packages.
6 Author: Arnaud Ferraris <[email protected]>
7 Forwarded: not-needed
8 Last-Update: 2024-11-05
9 ---
10 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
11 Index: a/Cargo.toml
12 ===================================================================
13 --- a/Cargo.toml
14 +++ b/Cargo.toml
15 @@ -87,10 +87,10 @@
16 version = "0.4.9"
17
18 [dev-dependencies.env_logger]
19 -version = "0.10.0"
20 +version = "0.11.0"
21
22 [dev-dependencies.futures-lite]
23 -version = "1.13.0"
24 +version = "2"
25
26 [target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.libc]
27 version = "0.2.155"
28 @@ -103,29 +103,6 @@
29 "net",
30 ]
31
32 -[target.'cfg(target_os="macos")'.dependencies.core-foundation]
33 -version = "0.9.3"
34 -
35 -[target.'cfg(target_os="macos")'.dependencies.core-foundation-sys]
36 -version = "0.8.4"
37 -
38 -[target.'cfg(target_os="macos")'.dependencies.io-kit-sys]
39 -version = "0.4.0"
40 -
41 -[target.'cfg(target_os="windows")'.dependencies.windows-sys]
42 -version = "0.48.0"
43 -features = [
44 - "Win32_Devices_Usb",
45 - "Win32_Devices_DeviceAndDriverInstallation",
46 - "Win32_Foundation",
47 - "Win32_Devices_Properties",
48 - "Win32_Storage_FileSystem",
49 - "Win32_Security",
50 - "Win32_System_IO",
51 - "Win32_System_Registry",
52 - "Win32_System_Com",
53 -]
54 -
55 [lints.rust.unexpected_cfgs]
56 level = "warn"
57 priority = 0