Cargo Features
[dependencies]
attenuable-jwt = { version = "0.3.2", default-features = false, features = ["ed25519", "rng"] }
- default = ed25519, rng
-
These default features are set whenever
attenuable-jwt
is added without
somewhere in the dependency tree.default-features = false - ed25519 default = ed25519-dalek
- rng default = rand
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 ed25519
-
Enables ed25519-dalek ^1.0.1
- rand rng
-
Enables rand ^0.7.3