Cargo Features
JOSE has no features set by default.
[dependencies]
jose = { version = "0.0.2", features = ["std", "crypto-rustcrypto", "crypto-openssl", "crypto-openssl-vendored", "crypto-aws-lc", "crypto-ring", "deterministic-ecdsa"] }
- std crypto-aws-lc? crypto-openssl?
-
Enables std of fluent-uri, optional elliptic-curve, and optional rand_core ^0.6
rand_core:
RustCrypto backend
and std of serde_json, thiserror, optional ring, optional rsa, and optional signature
ring:
Ring crypto backend
- crypto-rustcrypto
-
Enables digest, ecdsa, ed25519-dalek, elliptic-curve, generic-array ^0.14, hmac, k256, p256, p384, rand_core ^0.6, rsa, sha2, and signature
generic-array:
FIXME: remove this when we can use const generics
- crypto-openssl crypto-openssl-vendored? = std
-
Enables openssl and openssl-sys
openssl:
OpenSSL backend (is also used for aws-lc and libressl)
- crypto-openssl-vendored = crypto-openssl
- crypto-aws-lc = std
- crypto-ring
-
Enables ring
- deterministic-ecdsa
-
This feature enables the deterministic signature generation using EcDSA according to RFC 6979