Skip to content

Commit

Permalink
refactor: Remove all dependences on ring 0.16 (#2036)
Browse files Browse the repository at this point in the history
* refactor: Remove all dependences on ring 0.16

Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Jan 16, 2024
1 parent 9d1696b commit 0ef1a54
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 85 deletions.
77 changes: 10 additions & 67 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 4 additions & 18 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ http = "0.2"
hyper = { version = "0.14.27", optional = true, features = ["server"] }
is-terminal = "0.4.10"
jobserver = "0.1"
jwt = { package = "jsonwebtoken", version = "8", optional = true }
jwt = { package = "jsonwebtoken", version = "9", optional = true }
libc = "0.2.152"
linked-hash-map = "0.5"
log = "0.4"
memchr = "2"
mime = "0.3"
num_cpus = "1.16"
number_prefix = "0.4"
once_cell = "1.19"
Expand All @@ -78,8 +79,6 @@ sha2 = { version = "0.10.8", optional = true }
strip-ansi-escapes = "0.2"
tar = "0.4.40"
tempfile = "3"
# trust-dns-resolver must be kept in sync with the version reqwest uses
mime = "0.3"
tokio = { version = "1", features = [
"rt-multi-thread",
"io-util",
Expand All @@ -92,11 +91,6 @@ tokio-serde = "0.8"
tokio-util = { version = "0.7", features = ["codec", "io"] }
toml = "0.8"
tower = "0.4"
trust-dns-resolver = { version = "0.23.2", features = [
"dnssec-ring",
"dns-over-rustls",
"dns-over-https-rustls",
], optional = true }
url = { version = "2", optional = true }
uuid = { version = "1.6", features = ["v4"] }
walkdir = "2"
Expand Down Expand Up @@ -157,7 +151,7 @@ all = [
]
azure = ["opendal", "reqsign"]
default = ["all"]
gcs = ["opendal", "reqsign", "url", "reqwest/blocking", "trust-dns-resolver"]
gcs = ["opendal", "reqsign", "url", "reqwest/blocking"]
gha = ["opendal"]
memcached = ["opendal/services-memcached"]
native-zlib = []
Expand All @@ -171,14 +165,7 @@ vendored-openssl = ["openssl?/vendored", "opendal?/native-tls-vendored"]
# Enable features that require unstable features of Nightly Rust.
unstable = []
# Enables distributed support in the sccache client
dist-client = [
"flate2",
"hyper",
"reqwest",
"url",
"sha2",
"trust-dns-resolver",
]
dist-client = ["flate2", "hyper", "reqwest", "url", "sha2"]
# Enables the sccache-dist binary
dist-server = [
"jwt",
Expand All @@ -189,7 +176,6 @@ dist-server = [
"reqwest",
"rouille",
"syslog",
"trust-dns-resolver",
"version-compare",
]
# Enables dist tests with external requirements
Expand Down

0 comments on commit 0ef1a54

Please # to comment.