Cargo Features
[dependencies]
portal-lib = { version = "0.5.0", default-features = false, features = ["rustcrypto-backend", "ring-backend"] }
- default = rustcrypto-backend
-
The
rustcrypto-backend
feature is set by default wheneverportal-lib
is added without
somewhere in the dependency tree.default-features = false - rustcrypto-backend default = chacha20poly1305
- ring-backend = ring
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.