mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Remove deprecated openssl and openssl-static features
This commit is contained in:
parent
56f0ed1795
commit
3f33db6728
2 changed files with 0 additions and 11 deletions
|
|
@ -13,10 +13,6 @@ native-tls = ["crunchy-cli-core/native-tls"]
|
|||
openssl-tls = ["dep:native-tls-crate", "native-tls-crate/openssl", "crunchy-cli-core/openssl-tls"]
|
||||
openssl-tls-static = ["dep:native-tls-crate", "native-tls-crate/openssl", "crunchy-cli-core/openssl-tls-static"]
|
||||
|
||||
# deprecated
|
||||
openssl = ["openssl-tls"]
|
||||
openssl-static = ["openssl-tls-static"]
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.35", features = ["macros", "rt-multi-thread", "time"], default-features = false }
|
||||
|
||||
|
|
|
|||
7
build.rs
7
build.rs
|
|
@ -19,13 +19,6 @@ fn main() -> std::io::Result<()> {
|
|||
println!("cargo:warning=Multiple tls backends are activated (through the '*-tls' features). Consider to activate only one as it is not possible to change the backend during runtime. The active backend for this build will be '{}'.", active_tls_backend)
|
||||
}
|
||||
|
||||
if cfg!(feature = "openssl") {
|
||||
println!("cargo:warning=The 'openssl' feature is deprecated and will be removed in a future version. Use the 'openssl-tls' feature instead.")
|
||||
}
|
||||
if cfg!(feature = "openssl-static") {
|
||||
println!("cargo:warning=The 'openssl-static' feature is deprecated and will be removed in a future version. Use the 'openssl-tls-static' feature instead.")
|
||||
}
|
||||
|
||||
// note that we're using an anti-pattern here / violate the rust conventions. build script are
|
||||
// not supposed to write outside of 'OUT_DIR'. to have the generated files in the build "root"
|
||||
// (the same directory where the output binary lives) is much simpler than in 'OUT_DIR' since
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue