Cargo Features
[dependencies]
mail-auth = { version = "0.5.0", default-features = false, features = ["rust-crypto", "generate", "test", "ring", "rustls-pemfile"] }
- default = ring, rustls-pemfile
-
These default features are set whenever
mail-auth
is added without
somewhere in the dependency tree.default-features = false - rust-crypto = ed25519-dalek, rsa, sha1, sha2
- generate = rand, rsa
-
Affects
dkim::generate
… - test
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.
- ed25519-dalek rust-crypto?
- ring default
- rsa generate? rust-crypto?
- rustls-pemfile default
- sha1 rust-crypto?
- sha2 rust-crypto?
- rand generate?