Closed maxmindlin closed 3 months ago
Hello, This is because the change in features can result in a breaking change, so the new features will be part of 3.0 which is not ready yet.
In the meantime, you should be able to add a direct dependency on rustls to control this with rustls features directly
Hello, This is because the change in features can result in a breaking change, so the new features will be part of 3.0 which is not ready yet.
In the meantime, you should be able to add a direct dependency on rustls to control this with rustls features directly
Makes sense, thanks for the details. I tried adding the following to my Cargo.toml but I am still getting the above error:
lapin = { version = "2.5.0" }
rustls = { version = "=0.23", default-features = false, features = ["ring"]}
Is this not the proper way add the rustls direct dependency?
Sorry for the delay, did not have access to a computer.
Turns out we pulled rustls in with default features enabled anyways, so this had no effect...
Until 3.0, I've just changed the default back to ring for now (which can still be overridden at application level anyways), but at least this particular problem won't happen anymore after your next cargo update
Hello!
I was having issues building Lapin v2.5.0 on windows due to the following error:
I believe I successfully narrowed it down to rustls and tried the suggestion in the README of setting the
rustls--ring
but got the error that the feature does not exist. I noticed that while this feature does exist inmain
it does not exist in the most recent release of2.5.0
. Will a new version be released soon to account for this or is there something I am missing? In the meantime I am using native-tls which has its own downsides.Thanks!