Cargo Features
[dependencies]
monolith = { version = "2.9.0", default-features = false, features = ["cli", "vendored-openssl"] }
- default = cli, vendored-openssl
-
These default features are set whenever
monolith
is added without
somewhere in the dependency tree.default-features = false - cli default = clap, tempfile
-
Build a CLI tool that includes main() function
- vendored-openssl default
-
Compile and statically link a copy of OpenSSL
Used for static linking of the OpenSSL library
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.