Skip to content

Commit

Permalink
Merge pull request #124 from reneklacan/fix-rustls
Browse files Browse the repository at this point in the history
Fix rustls feature
  • Loading branch information
dongri authored Nov 17, 2024
2 parents 686bba7 + 33981c5 commit 7317831
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ repository = "https://github.com/dongri/openai-api-rs"

[features]
default = ["default-tls"]
rustls = ["reqwest/rustls-tls"]
default-tls = ["reqwest/default-tls"]
rustls = ["reqwest/rustls-tls", "tokio-tungstenite/rustls-tls-webpki-roots"]
default-tls = ["reqwest/default-tls", "tokio-tungstenite/native-tls"]

[dependencies.reqwest]
version = "0.12"
Expand All @@ -35,7 +35,7 @@ version = "1.7.1"

[dependencies.tokio-tungstenite]
version = "0.24.0"
features = ["connect", "native-tls"]
features = ["connect"]

[dependencies.futures-util]
version = "0.3.31"
Expand Down

0 comments on commit 7317831

Please sign in to comment.