elliptic-curve 0.10.3

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.
Documentation
[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.10.3" # Also update html_root_url in lib.rs when bumping this
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]
crypto-bigint = { version = "0.2.1", features = ["generic-array"] }
generic-array = { version = "0.14", default-features = false }
rand_core = { version = "0.6", default-features = false }
subtle = { version = "2.4", default-features = false }

# optional dependencies
base64ct = { version = "1", optional = true, default-features = false }
ff = { version = "0.10", optional = true, default-features = false }
group = { version = "0.10", optional = true, default-features = false }
hex-literal = { version = "0.3", optional = true }
pkcs8 = { version = "0.7", optional = true }
serde = { version = "1", optional = true, default-features = false }
serde_json = { version = "1", optional = true, default-features = false, features = ["alloc"] }
zeroize = { version = "1", optional = true,  default-features = false }

[dev-dependencies]
hex-literal = "0.3"

[features]
default = ["arithmetic"]
alloc = [] # todo: activate `group/alloc` when weak feature activation is available
arithmetic = ["crypto-bigint/zeroize", "ff", "group", "zeroize"]
bits = ["arithmetic", "ff/bits"]
dev = ["arithmetic", "hex-literal", "pem", "zeroize"]
ecdh = ["arithmetic", "zeroize"]
hazmat = []
jwk = ["alloc", "base64ct/alloc", "serde", "serde_json", "zeroize/alloc"]
pem = ["alloc", "pkcs8/pem"]
std = ["alloc"]

[package.metadata.docs.rs]
features = ["arithmetic", "ecdh", "jwk", "pem", "std"]
rustdoc-args = ["--cfg", "docsrs"]