Skip to content

Commit

Permalink
Try using rustls on all platforms
Browse files Browse the repository at this point in the history
Per discussion in rustsec/rustsec#962 it seems like
the ring 0.17+ now works on all platforms where Rust works.
  • Loading branch information
autarch committed Jan 18, 2024
1 parent 9ef0d16 commit e608f21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 169 deletions.
152 changes: 0 additions & 152 deletions Cargo.lock

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

18 changes: 1 addition & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ itertools = "0.12.0"
log = "0.4.20"
platforms = "=3.2.0"
regex = "1.10.2"
reqwest = { version = "0.11.23", default-features = false, features = ["gzip", "json", "rustls-tls"] }
result = "1.0.0"
serde = { version = "1.0.195", features = ["derive"] }
strum = { version = "0.25.0", features = ["derive"] }
Expand All @@ -29,23 +30,6 @@ url = { version = "2.5.0", features = ["serde"] }
xz = "0.1.0"
zip = "0.6.6"

[target.'cfg(darwin)'.dependencies]
reqwest = { version = "0.11.23", default-features = false, features = ["gzip", "json", "rustls-tls"] }

[target.'cfg(all(target_os = "windows", target_arch="x86_64"))'.dependencies]
reqwest = { version = "0.11.23", default-features = false, features = ["gzip", "json", "rustls-tls"] }

[target.'cfg(all(target_os = "windows", not(target_arch="x86_64")))'.dependencies]
reqwest = { version = "0.11.23", default-features = false, features = ["gzip", "json", "default-tls"] }
openssl = { version = "0.10.62", features = ["vendored"] }

[target.'cfg(all(target_os = "linux", any(target_arch="x86_64", target_arch="arm", target_arch="armv7", target_arch="mipsel")))'.dependencies]
reqwest = { version = "0.11.23", default-features = false, features = ["gzip", "json", "rustls-tls"] }

[target.'cfg(all(not(all(target_os = "linux", any(target_arch="x86_64", target_arch="arm", target_arch="armv7", target_arch="mipsel"))), not(target_os = "windows"), not(target_os = "darwin")))'.dependencies]
reqwest = { version = "0.11.23", default-features = false, features = ["gzip", "json", "default-tls"] }
openssl = { version = "0.10.62", features = ["vendored"] }

[workspace.metadata.release]
allow-branch = ["master"]

Expand Down

0 comments on commit e608f21

Please sign in to comment.