Cargo Features
Signature has no features set by default.
[dependencies]
signature = { version = "2.3.0-pre.6", features = ["alloc", "std", "rand_core", "derive", "digest"] }
- alloc std?
-
Affects
encoding::SignatureEncoding.to_vec
… - std = alloc
-
TODO: remove this feature in the next breaking release
- rand_core
-
Enables rand_core
Affects
hazmat::RandomizedPrehashSigner
,hazmat::AsyncRandomizedPrehashSigner
,signer::RandomizedSigner
,signer::RandomizedSignerMut
,signer::AsyncRandomizedSigner
,signer::RandomizedDigestSigner
…
Features from optional dependencies
- derive implicit feature
-
Enables signature_derive
signature_derive:
Custom derive support for the 'signature' crate
- digest implicit feature
-
Enables digest
digest:
Traits for cryptographic hash functions and message authentication codes
Affects
signer::DigestSigner
,signer::AsyncDigestSigner
,verifier::DigestVerifier
,signer::RandomizedDigestSigner
…