Cargo Features

generic-ec-curves has no features set by default.

[dependencies]
generic-ec-curves = { version = "0.2.2", features = ["rust-crypto", "secp256k1", "secp256r1", "stark", "ed25519"] }
rust-crypto secp256k1? secp256r1? stark? = elliptic-curve

Affects generic-ec-curves::rust_crypto

secp256k1 = k256, rust-crypto, sha2

Affects rust_crypto::Secp256k1

secp256r1 = p256, rust-crypto, sha2

Affects rust_crypto::Secp256r1

stark = rust-crypto, sha2, stark-curve

Affects rust_crypto::Stark

ed25519

Enables curve25519-dalek and group

Affects generic-ec-curves::ed25519

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.

elliptic-curve rust-crypto?
k256 secp256k1?
p256 secp256r1?
sha2 secp256k1? secp256r1? stark?
stark-curve stark?