Skip to content

Commit

Permalink
rustls feature
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Oct 30, 2024
1 parent cdd55cb commit 9c18557
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
17 changes: 16 additions & 1 deletion Cargo.lock

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

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ license = "Apache-2.0"
[build-dependencies]
tonic-build = "0.12.3"

[features]
default = ["native-tls"]
native-tls = ["reqwest/default-tls"]
rustls = ["reqwest/rustls-tls-native-roots"]

[dependencies]
anyhow = { version = "1.0.91", features = ["backtrace"] }
async-recursion = "1.0.5"
Expand Down Expand Up @@ -38,7 +43,7 @@ process_path = "0.1.4"
prost = "0.13.3"
prost-types = "0.13.3"
rand = "0.8.5"
reqwest = { version = "0.12.9", features = ["json"] }
reqwest = { version = "0.12.9", default-features = false, features = ["charset", "http2", "macos-system-configuration", "json"] }
secrecy = { version = "0.10.0", features = ["serde"] }
serde = { version = "1.0.214", features = ["derive"] }
serde_json = "1.0.132"
Expand Down

0 comments on commit 9c18557

Please sign in to comment.