sm2 0.13.3

Pure Rust implementation of the SM2 elliptic curve as defined in the Chinese national standard GM/T 0003-2012 as well as ISO/IEC 14888. Includes support for the SM2DSA Digital Signature Algorithm.
Documentation
[dependencies.elliptic-curve]
default-features = false
features = ["hazmat", "sec1"]
version = "0.13"

[dependencies.primeorder]
optional = true
version = "0.13.1"

[dependencies.rfc6979]
optional = true
version = "0.4"

[dependencies.serdect]
default-features = false
optional = true
version = "0.2"

[dependencies.signature]
features = ["rand_core"]
optional = true
version = "2.2"

[dependencies.sm3]
default-features = false
optional = true
version = "0.4"
[dev-dependencies.hex-literal]
version = "0.4"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rand_core]
features = ["getrandom"]
version = "0.6"

[features]
alloc = ["elliptic-curve/alloc"]
arithmetic = ["dep:primeorder", "elliptic-curve/arithmetic"]
default = ["arithmetic", "dsa", "pem", "std"]
dsa = ["arithmetic", "dep:rfc6979", "dep:signature", "dep:sm3"]
getrandom = ["rand_core/getrandom"]
pem = ["elliptic-curve/pem", "pkcs8"]
pkcs8 = ["elliptic-curve/pkcs8"]
serde = ["elliptic-curve/serde", "primeorder?/serde", "serdect"]
std = ["alloc", "elliptic-curve/std", "signature?/std"]

[package]
authors = ["RustCrypto Developers"]
categories = ["cryptography", "no-std"]
description = "Pure Rust implementation of the SM2 elliptic curve as defined in the Chinese\nnational standard GM/T 0003-2012 as well as ISO/IEC 14888. Includes support for\nthe SM2DSA Digital Signature Algorithm.\n"
documentation = "https://docs.rs/sm2"
edition = "2021"
keywords = ["crypto", "ecc", "shangmi", "signature"]
license = "Apache-2.0 OR MIT"
name = "sm2"
readme = "README.md"
repository = "https://github.com/RustCrypto/elliptic-curves/tree/master/sm2"
rust-version = "1.65"
version = "0.13.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]