Requires openssl-sys crate even when rustls or rustls-webpki-roots enabled #477
Replies: 1 comment
-
|
reqwest = { version = "0.12.24", features = ["rustls-tls", "json"], default-features = false } I was missing the default-features = false flag |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is my cargo.toml entry
async-openai = { version = "0.30.1", features = ["byot", "rustls-webpki-roots"] } // I also tried "rutls" and both together
I am trying to create a docker container for my application. cargo build runs into an error because it looks for OpenSSL. When running cargo tree, I see that openssl-sys v0.9.111 <- native-tls v0.2.14 <- hyper-tls v0.6.0 <- reqwest v0.12.24 <- async-openai v0.30.1
I can ofcourse add Openssl to my docker, which I will be doing until I can fix this issue.
Any help on how to remedy this issue would be great
Beta Was this translation helpful? Give feedback.
All reactions