sm9 0.4.0

SM9 (OSCCA GM/T 0044-2016), identity-based cryptography
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "sm9"
version = "0.4.0"
authors = ["John Yu <cb8866@sina.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SM9 (OSCCA GM/T 0044-2016), identity-based cryptography"
documentation = "https://docs.rs/sm9/"
readme = "README.md"
keywords = [
    "SM9",
    "pairing",
    "crypto",
    "cryptography",
    "shangmi",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/John-Yu/SM9"

[lib]
name = "sm9"
path = "src/lib.rs"

[[test]]
name = "encapsulation"
path = "tests/encapsulation.rs"

[[test]]
name = "encryption"
path = "tests/encryption.rs"

[[test]]
name = "exchange"
path = "tests/exchange.rs"

[[test]]
name = "kgc"
path = "tests/kgc.rs"

[[test]]
name = "signature"
path = "tests/signature.rs"

[dependencies.generic-array]
version = "1.2.0"

[dependencies.hex-literal]
version = "1.0.0"

[dependencies.hmac]
version = "0.12.1"

[dependencies.rand]
version = "0.9.1"

[dependencies.rand_core]
version = "0.9.3"

[dependencies.sec1]
version = "0.7.3"
features = [
    "alloc",
    "pem",
    "std",
]

[dependencies.signature]
version = "2.2.0"

[dependencies.sm3]
version = "0.4.2"

[dependencies.sm9_core]
version = "0.5.0"

[dependencies.zeroize]
version = "1.8.1"
features = ["zeroize_derive"]

[dev-dependencies.hex-literal]
version = "1.0.0"

[profile.dev]
opt-level = 0

[profile.release]
opt-level = 3