Skip to content

Commit

Permalink
Add rustls flavor of http (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtuchkin authored Feb 15, 2024
1 parent 268236a commit d812086
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 @@ -19,7 +19,8 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
http = ["reqwest"]
http = ["reqwest/default-tls"]
http-rustls = ["reqwest/rustls-tls"]
data-url = ["dep:data-url"]

png = ["image/png"]
Expand All @@ -43,7 +44,7 @@ serde = ["dep:serde", "half/serde", "cgmath/serde"]
cgmath = "0.18"
half = {version="2", features=["std", "num-traits", "zerocopy"]}
thiserror = "1"
reqwest = {version = "0.11", optional = true }
reqwest = {version = "0.11", optional = true, default-features = false }
gltf = { version = "1", optional = true, features=["KHR_materials_ior", "KHR_materials_transmission"] }
wavefront_obj = { version = "10", optional = true }
image = { version = "0.24", optional = true, default-features = false}
Expand Down

0 comments on commit d812086

Please # to comment.