-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error when using async-nats as a library (related: tokio-rustls, rustls) #1090
Comments
From my understanding what is going on here is that But Since it's a minor version bump, cargo seems ok to sometimes use the latest version instead of the one pinned, that's why this project compiles in some environments. There was something going on in our enviroment, maybe a different dependency using rustls If We added this line to our cargo toml and it fixed it, but the issue originates from this repo. |
FYI if you're making a binary crate you can do |
It should be fixed here #1108 |
@nickgerace can this issue be closed? |
I believe so! |
NATS version
0.31.0
rustc version
rustc 1.70.0 (90c541806 2023-05-31)
OS/Container environment
macOS 13.5
Steps or code to reproduce the issue
0.31.0
rustls
version0.21.1
is being used instead of a newer version that provides the missing method belowExpected result
Success compilation.
Actual result
The error observed above.
The text was updated successfully, but these errors were encountered: