Skip to content

Commit

Permalink
Simplify deps by letting reqwest deal with rustls (ring vs aws-lc-rs). (
Browse files Browse the repository at this point in the history
#88)

* Simplify deps by letting reqwest deal with rustls (ring vs aws-lc-rs).

* Trying to see the error in DL.

* Trying to nail the issue.

* More test.

* Trying to trigger more frequently.

* Oops.

* ??

* ??

* ??

* Cargo feature syntax.

* Tmp

* Tokio needs sync ?

* It's hard to track..

* Can we trust tokio::fs ?

* Remove the extra check.

* Requires flush?

* Cancel the other unrelated changes.
  • Loading branch information
Narsil authored Jan 7, 2025
1 parent e071841 commit d4b90d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ reqwest = { version = "0.12.2", optional = true, default-features = false, featu
"json",
"stream",
] }
rustls = { version = "0.23.4", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
thiserror = { version = "2", optional = true }
Expand All @@ -43,8 +42,8 @@ native-tls = { version = "0.2.12", optional = true }
default = ["default-tls", "tokio", "ureq"]
# These features are only relevant when used with the `tokio` feature, but this might change in the future.
default-tls = ["native-tls"]
native-tls = ["dep:reqwest", "reqwest/default", "dep:native-tls", "ureq/native-tls"]
rustls-tls = ["dep:rustls", "reqwest/rustls-tls"]
native-tls = ["dep:reqwest", "reqwest?/default", "dep:native-tls", "dep:ureq", "ureq?/native-tls"]
rustls-tls = ["reqwest?/rustls-tls"]
tokio = [
"dep:futures",
"dep:indicatif",
Expand Down

0 comments on commit d4b90d9

Please sign in to comment.