You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Lettre still depends on 'openssl-sys' despite the 'rustls-tls' feature being enabled.
To Reproduce
Using the following line in Cargo.toml:
lettre = { version = "0.10.4", features = ["rustls-tls"] }
With these imports:
use lettre::{
message::header::ContentType, transport::smtp::SmtpTransportBuilder, Message, SmtpTransport,
Transport,
}
causes the following stack-trace:
run pkg_config fail: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "openssl"` did not exit successfully: exit status: 1
error: could not find system library 'openssl' required by the 'openssl-sys' crate
--- stderr
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'virtual:world', not found
...
Expected behavior
I expected cargo build to not look for OpenSSL on my system and instead rely on rustls-tls as other packages (actix-web, reqwest) are doing in my project.
Environment
Lettre version: 0.10.4
OS: RHEL 9.1 (Plow)
Additional context
If any additional information/context is needed, please feel free to let me know and I will provide it. Thank you.
The text was updated successfully, but these errors were encountered:
Describe the bug
Lettre still depends on 'openssl-sys' despite the 'rustls-tls' feature being enabled.
To Reproduce
Using the following line in Cargo.toml:
With these imports:
causes the following stack-trace:
Expected behavior
I expected
cargo build
to not look for OpenSSL on my system and instead rely on rustls-tls as other packages (actix-web, reqwest) are doing in my project.Environment
Additional context
If any additional information/context is needed, please feel free to let me know and I will provide it. Thank you.
The text was updated successfully, but these errors were encountered: