File: 2003_no_dist-server.patch

package info (click to toggle)
sccache 0.10.0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,996 kB
  • sloc: sh: 358; cpp: 112; perl: 68; makefile: 35; ansic: 31
file content (88 lines) | stat: -rw-r--r-- 2,332 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Description: avoid feature dist-server
 Some needed crates are not yet available in Debian.
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-08-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,7 +50,6 @@
 ] }
 itertools = ">= 0.12, <= 0.13"
 jobserver = "0.1"
-jwt = { package = "jsonwebtoken", version = "9", optional = true }
 libc = "0.2.153"
 linked-hash-map = "0.5"
 log = "0.4"
@@ -62,7 +61,6 @@
 object = "0.36"
 once_cell = "1.19"
 opendal = { version = "0.52.0", optional = true, default-features = false }
-openssl = { version = "0.10.64", optional = true }
 rand = "0.8.4"
 regex = "1.10.3"
 reqsign = { version = "0.16.0", optional = true }
@@ -103,20 +101,6 @@
 zip = { version = ">= 2, <= 5", default-features = false }
 zstd = "0.13"
 
-# dist-server only
-nix = { version = "0.28.0", optional = true, features = [
-  "mount",
-  "user",
-  "sched",
-  "signal",
-  "process",
-] }
-rouille = { version = "3.6", optional = true, default-features = false, features = [
-  "ssl",
-] }
-syslog = { version = "6", optional = true }
-version-compare = { version = "0.1.1", optional = true }
-
 [dev-dependencies]
 assert_cmd = "2.0.13"
 cc = "1.0"
@@ -131,10 +115,6 @@
 [target.'cfg(unix)'.dependencies]
 daemonize = "0.5"
 
-[target.'cfg(not(target_os = "freebsd"))'.dependencies.libmount]
-optional = true
-version = "0.1.15"
-
 [features]
 all = [
   "dist-client",
@@ -160,7 +140,7 @@
 # Enable features that will build a vendored version of openssl and
 # statically linked with it, instead of linking against the system-wide openssl
 # dynamically or statically.
-vendored-openssl = ["openssl?/vendored", "reqwest?/native-tls-vendored"]
+vendored-openssl = ["reqwest?/native-tls-vendored"]
 # Enable features that require unstable features of Nightly Rust.
 unstable = []
 # Enables distributed support in the sccache client
@@ -173,20 +153,8 @@
   "url",
   "sha2",
 ]
-# Enables the sccache-dist binary
-dist-server = [
-  "jwt",
-  "flate2",
-  "libmount",
-  "nix",
-  "openssl",
-  "reqwest",
-  "rouille",
-  "syslog",
-  "version-compare",
-]
 # Enables dist tests with external requirements
-dist-tests = ["dist-client", "dist-server"]
+dist-tests = ["dist-client"]
 
 [workspace]
 exclude = ["tests/test-crate"]