Cargo Features
[dependencies]
sasl = { version = "0.5.2", default-features = false, features = ["scram", "anonymous"] }
- default = anonymous, scram
-
These default features are set whenever
sasl
is added without
somewhere in the dependency tree.default-features = false - scram default = base64, getrandom, hmac, pbkdf2, sha1, sha2
-
Affects
common::scram
… - anonymous default = getrandom
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.