Cargo Features
[dependencies]
cryptonomicon = { version = "0.1.0", default-features = false, features = ["asymmetric", "elliptic_curve", "elliptic_curve_25519", "pki", "x509", "x509_v3"] }
- default = elliptic_curve_25519, x509_v3
-
These default features are set whenever
cryptonomicon
is added without
somewhere in the dependency tree.default-features = false - asymmetric elliptic_curve? pki?
-
Affects
asymmetric::PublicKey
,asymmetric::PrivateKey
… - elliptic_curve elliptic_curve_25519 = asymmetric
-
Affects
elliptic_curve::ECPrivateKey
,elliptic_curve::ECPublicKey
… - elliptic_curve_25519 default = ed25519-dalek, elliptic_curve
-
Affects
curve_25519::Curve25519PublicKey
,curve_25519::Curve25519PrivateKey
… - pki x509? = asymmetric
-
Affects
pki::Certificate
,pki::CertificateRequest
,pki::CertificateRevocationList
… - x509 x509_v3 = pki
-
Affects
x509::X509Certificate
… - x509_v3 default = x509
-
Affects
v3::X509V3Certificate
…
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.