Merge pull request #3 from twistedfall/rustls
Allow switching to rustls TLS implementation
This commit is contained in:
commit
b9153e7ace
|
@ -13,7 +13,7 @@ edition = "2021"
|
|||
|
||||
|
||||
[dependencies]
|
||||
reqwest = { version = "0.11.10", features = ["json"] }
|
||||
reqwest = { version = "0.11.10", default-features = false, features = ["json"] }
|
||||
serde = { version = "1.0.136", features = ["derive"] }
|
||||
serde_json = "1.0.79"
|
||||
serde_with = "1.13.0"
|
||||
|
@ -30,3 +30,7 @@ tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
|
|||
dotenv = "0.15.0"
|
||||
anyhow = "1.0.57"
|
||||
color-eyre = "0.6.1"
|
||||
|
||||
[features]
|
||||
default = ["reqwest/native-tls"]
|
||||
rustls = ["reqwest/rustls-tls"]
|
||||
|
|
Loading…
Reference in a new issue