Skip to content

Commit

Permalink
fix: Add TLS support, and allow changing TLS backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblast-dev committed Jun 8, 2024
1 parent fd7ce98 commit 671ec40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ leptos = { version = "0.6", optional = true }
serde_json = "1.0"

[features]
default = []
default = ["default-tls"]
default-tls = ["reqwest/default-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
leptos = ["web-sys/AbortController", "dep:leptos"]

[target.'cfg(target_family = "wasm")'.dependencies]
Expand Down

0 comments on commit 671ec40

Please sign in to comment.