Skip to content

Commit

Permalink
Put default-tls into its own feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Dec 16, 2024
1 parent b78be0e commit 4158465
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ license = "MIT OR Apache-2.0"
keywords = ["http", "reader", "buffer"]

[features]
default = ["reqwest-async", "reqwest-sync"]
default = ["reqwest-async", "reqwest-sync", "default-tls"]
reqwest-async = ["reqwest"]
reqwest-sync = ["reqwest/blocking"]
ureq-sync = ["ureq"]
default-tls = ["reqwest?/default-tls"]

[dependencies]
async-trait = "0.1.51"
byteorder = "1.4.2"
bytes = "1.0.1"
read-logger = "0.2.0"
reqwest = { version = "0.12.5", default-features = false, features = ["default-tls"], optional = true }
reqwest = { version = "0.12.5", default-features = false, optional = true }
thiserror = "1.0"
ureq = { version = "2.7.1", optional = true }

Expand Down

0 comments on commit 4158465

Please # to comment.