Cargo Features
[dependencies]
elliptic-curve-flow = { version = "1.0.0", default-features = false, features = ["alloc", "std", "arithmetic", "bits", "dev", "ecdh", "hazmat", "jwk", "pem"] }
- default = arithmetic
-
The
arithmetic
feature is set by default wheneverelliptic-curve-flow
is added without
somewhere in the dependency tree.default-features = false - alloc jwk? pem? std?
-
todo: activate
group/alloc
when weak feature activation is availableEnables alloc of der ^0.4.3 and zeroize >=1, <1.5
- std = alloc
- arithmetic default bits? dev? ecdh? pem? = ff, group
-
Affects
arithmetic::ScalarArithmetic
,elliptic-curve-flow::AffinePoint
,elliptic-curve-flow::ProjectivePoint
,scalar::Scalar
… - bits = arithmetic
-
Affects
dev::ScalarBits
,scalar::ScalarBits
… - dev = arithmetic, hex-literal, pem
-
Affects
elliptic-curve-flow::dev
… - ecdh = arithmetic
-
Affects
elliptic-curve-flow::ecdh
… - hazmat
- jwk = alloc, serde, serde_json
-
Enables alloc of base64ct and zeroize >=1, <1.5
base64ct:
optional dependencies
- pem dev? = alloc, arithmetic
-
Enables alloc of pem-rfc7468 ^0.2, pem of pkcs8 ^0.7
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.
- base64ct jwk?
- ff arithmetic bits?
-
Enables ff ^0.11
- group arithmetic
-
Enables group ^0.11
- hex-literal dev?
-
Enables hex-literal ^0.3
- pem-rfc7468 pem?
-
Enables pem-rfc7468 ^0.2
- pkcs8 pem?
-
Enables pkcs8 ^0.7
Affects
elliptic-curve-flow::ALGORITHM_OID
,elliptic-curve-flow::AlgorithmParameters
… - serde jwk?
- serde_json jwk?