Cargo Features
[dependencies]
ring-compat = { version = "0.8.0", default-features = false, features = ["std", "alloc", "getrandom", "pkcs8", "signature", "aead", "digest"] }
- default = aead, alloc, digest, rand_core, signature
-
These default features are set whenever
ring-compat
is added without
somewhere in the dependency tree.default-features = false - std
-
Enables std of optional digest, optional ecdsa, optional ed25519, and optional pkcs8
- alloc default
-
Enables alloc of optional aead, optional ed25519, and optional pkcs8
aead:
optional dependencies
- getrandom
- pkcs8
- signature default
-
Enables ecdsa, ed25519, p256, p384, pkcs8, and signature
Affects
ring-compat::signature
…
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.