Skip to content

Commit

Permalink
Merge pull request #28 from sorah/rustls
Browse files Browse the repository at this point in the history
Allow no native-tls and use rustls instead
  • Loading branch information
sorah committed Nov 4, 2023
2 parents 4b05687 + e2406cf commit 8f73386
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 2 deletions.
111 changes: 110 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 @@ -13,6 +13,11 @@ homepage = "https://github.com/sorah/needroleshere"
rust-version = "1.59"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

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

[dependencies]
anyhow = "1.0.65"
async-trait = "0.1.57"
Expand All @@ -38,7 +43,7 @@ pkcs1 = { version = "0.4.0", features = ["alloc", "std", "pem", "pkcs8"] }
pkcs8 = { version = "0.9.0", features = ["alloc", "std", "pem"]}
rand = "0.8.5"
regex = "1.6.0"
reqwest = { version = "0.11.12", features = ["json"] }
reqwest = { version = "0.11.12", features = ["json"], default-features = false }
rfc6979 = "0.3.0"
rsa = { version = "0.6.1", features = ["std", "pem"] }
sec1 = { version = "0.3.0", features = ["alloc", "std", "pem", "pkcs8"] }
Expand Down

0 comments on commit 8f73386

Please sign in to comment.