These are chat archives for rust-lang/rust
How is this fixable? I tried telling Cargo to lock in openssl 0.7 but same error
error: native library `openssl` is being linked to by more than one version of the same package, but it can only be linked once; try updating or pinning your dependencies to ensure that this package only shows up once
[dependencies] amqp = "0.0.19" smtp = "0.3.0" hyper = "0.9.10" openssl = "0.7.0" openssl-sys = "0.7.17"
Cargo.lock, but unfortunately I can't find any documentation about that. You could try
"=0.7.0"as the openssl version in
Cargo.tml, maybe that already fixes it.
cargo install cargo-editand then run
cargo list --treein your project directory.
smtpdepends on openssl 0.6, so cargo pulls in both 0.7 and 0.6 branches
lettrewhich is the most downloaded smtp library wants to have openssl 0.8.
hyperwant 0.7. That's annoying.
openssl0.8 is compatible with 0.7 as it uses
lettreis a rebranded version of
lettre, the successor of
smtp, should fix your problem. Although I guess it can be helpful to know anyway.
Cargo.tomlas I imagine you're not using it directly in your code. The same might apply to
*const *const Foo
&&mut Foodoesn't work as you'd expect it to
mutmeant mutex locked or something