Cargo Features
[dependencies]
elliptic-curve = { version = "0.14.0-rc.1", default-features = false, features = ["std", "alloc", "arithmetic", "bits", "dev", "hash2curve", "ecdh", "group", "jwk", "pkcs8", "pem", "serde", "voprf"] }
- default = arithmetic
-
The
arithmetic
feature is set by default wheneverelliptic-curve
is added without
somewhere in the dependency tree.default-features = false - std = alloc
- alloc jwk? pem? serde? std?
-
Enables alloc of base16ct, optional ff, optional group, optional pkcs8, optional sec1, and zeroize
- arithmetic default bits? dev? ecdh? hash2curve? pem? = group
-
Affects
elliptic-curve::ops
,elliptic-curve::weierstrass
,point::AffinePoint
,point::ProjectivePoint
,point::BatchNormalize
,scalar::Scalar
… - bits = arithmetic
-
hack for minimal-versions support for
bits
Affects
dev::ScalarBits
,scalar::ScalarBits
… - dev = arithmetic, pem, pkcs8
-
Enables hex-literal
Affects
elliptic-curve::dev
… - hash2curve = arithmetic, digest
-
Affects
elliptic-curve::hash2curve
… - ecdh = arithmetic, digest
-
Enables hkdf
Affects
elliptic-curve::ecdh
… - group arithmetic = ff
-
Enables group
- jwk = alloc, serde
-
Enables alloc of zeroize and base64ct and serde_json
base64ct:
optional dependencies
- pkcs8 dev? pem? serde? = sec1
-
Enables pkcs8
Affects
elliptic-curve::ALGORITHM_OID
… - pem dev? = alloc, arithmetic, pkcs8
-
Enables pem-rfc7468, pem of sec1
- serde jwk? = alloc, pkcs8
- voprf = digest
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.