-
Hello there, I am relatively new to Rust and Basically, I tried to copy different combinations of
I don't understand why I'm getting this message. I'm trying to opt into Some configurations I tried: lettre = { version = "0.10.0-rc.5", default-features = false, features = ["rustls-tls", "tokio1_rustls", "tokio1-rustls-tls"] } lettre = { version = "0.10.0-rc.5", default-features = false, features = ["tokio1-rustls-tls"] } lettre = { version = "0.10.0-rc.5", default-features = false, features = ["builder", "hostname", "smtp-transport", "tokio1", "tokio1-rustls-tls"] } I saw issue #552 but its solution is for AsyncStd and not Tokio. Once again I failed playing around with the values so I though I'll just ask. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
OK.. So one of my Cargo dependencies is another external crate of mine that uses lettre = { version = "0.10.0-rc.5", default-features = false } And my current, main Cargo.toml like this: lettre = { version = "0.10.0-rc.5", default-features = false, features = ["builder", "hostname", "smtp-transport","tokio1", "tokio1-rustls-tls"] } And it worked. It appears that |
Beta Was this translation helpful? Give feedback.
OK..
So one of my Cargo dependencies is another external crate of mine that uses
lettre
.I configured that crate's Cargo.toml file with the following:
And my current, main Cargo.toml like this:
And it worked.
It appears that
native-tls
is a default activated feature and it causes a conflict ifdefault-features
is not set tofalse
in any of the dependencies.