Cargo Features

[dependencies]
p384_rs = { version = "0.1.10", default-features = false, features = ["std", "arithmetic", "bits", "digest", "ecdh", "ecdsa", "hash2curve", "jwk", "pem", "pkcs8", "serde", "sha384", "voprf", "test-vectors"] }
default = arithmetic, ecdh, ecdsa, pem, std

These default features are set whenever p384_rs is added without default-features = false somewhere in the dependency tree.

std default

Enables std of ecdsa ^0.14 and elliptic-curve ^0.12

ecdsa:

optional dependencies

arithmetic default bits? ecdh ecdsa hash2curve?

Enables arithmetic and digest of elliptic-curve ^0.12

Affects p384_rs::NonZeroScalar, p384_rs::PublicKey

bits = arithmetic

Enables bits of elliptic-curve ^0.12

Affects p384_rs::ScalarBits

digest sha384?

Enables digest and hazmat of ecdsa ^0.14

ecdh default = arithmetic

Enables ecdh of elliptic-curve ^0.12

Affects p384_rs::ecdh

ecdsa default = arithmetic, sha384

Enables sign and verify of ecdsa ^0.14

Affects ecdsa::SigningKey, ecdsa::VerifyingKey

hash2curve = arithmetic

Enables hash2curve of elliptic-curve ^0.12

jwk

Enables jwk of elliptic-curve ^0.12

pem default = pkcs8

Enables pem of ecdsa ^0.14 and elliptic-curve ^0.12

pkcs8 pem

Enables pkcs8 of ecdsa ^0.14 and elliptic-curve ^0.12

serde = serdect

Enables serde of ecdsa ^0.14 and elliptic-curve ^0.12

sha384 ecdsa = digest, sha2
voprf = sha2

Enables voprf of elliptic-curve ^0.12

test-vectors = hex-literal

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.

ecdsa-core digest? ecdsa pem pkcs8? serde? std

Enables ecdsa ^0.14

Affects p384_rs::ecdsa

hex-literal test-vectors?

Enables hex-literal ^0.3

serdect serde?

Enables serdect ^0.1

sha2 sha384? voprf?