libsmx 0.2.0

Pure-Rust, no_std, constant-time SM2/SM3/SM4/SM9 Chinese cryptography (GB/T 32918/32905/32907/38635)
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 = "2021"
rust-version = "1.83.0"
name = "libsmx"
version = "0.2.0"
build = false
exclude = [
    "benches/",
    "tests/",
    "docs/",
    ".github/",
    "scripts/",
    "reference/",
    "*.sh",
    "*.md",
    "!README.md",
    "!CHANGELOG.md",
    "!SECURITY.md",
    ".claude*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust, no_std, constant-time SM2/SM3/SM4/SM9 Chinese cryptography (GB/T 32918/32905/32907/38635)"
homepage = "https://github.com/kintaiW/libsmx"
documentation = "https://docs.rs/libsmx"
readme = "README.md"
keywords = [
    "sm2",
    "sm3",
    "sm4",
    "sm9",
    "gmssl",
]
categories = [
    "cryptography",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/kintaiW/libsmx"

[features]
alloc = []
default = ["alloc"]
std = [
    "alloc",
    "rand_core/std",
]

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

[dependencies.crypto-bigint]
version = "0.6"
default-features = false

[dependencies.rand_core]
version = "0.6"
default-features = false

[dependencies.subtle]
version = "2.6"
default-features = false

[dependencies.zeroize]
version = "1.8"
features = ["derive"]
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.sm9_core]
version = "0.5.0"