[package]
name = "elliptic-curve"
description = """
General purpose Elliptic Curve Cryptography (ECC) support, including types
and traits for representing various elliptic curve forms, scalars, points,
and public/secret keys composed thereof.
"""
version = "0.6.4"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/traits/tree/master/elliptic-curve"
readme = "README.md"
edition = "2018"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "ecc", "elliptic", "weierstrass"]
[dependencies]
bitvec = { version = "0.18", optional = true, default-features = false }
digest = { version = "0.9", optional = true }
ff = { version = "0.8", optional = true, default-features = false }
group = { version = "0.8", optional = true, default-features = false }
generic-array = { version = "0.14", default-features = false }
oid = { package = "const-oid", version = "0.1", optional = true }
rand_core = { version = "0.5", default-features = false }
subtle = { version = "2.3", default-features = false }
zeroize = { version = "1", optional = true, default-features = false }
[dev-dependencies]
hex-literal = "0.2"
[features]
default = ["arithmetic"]
alloc = []
arithmetic = ["bitvec", "ff", "group"]
ecdh = ["arithmetic", "zeroize"]
std = ["alloc"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]