# 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" name = "sm9" version = "0.3.2" authors = ["John Yu "] build = 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" [profile.dev] opt-level = 0 [profile.release] opt-level = 3 [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.1.0" [dependencies.hex-literal] version = "0.4" [dependencies.hmac] version = "0.12.1" [dependencies.kem] version = "0.2.0" [dependencies.rand] version = "0.8.5" [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.4.0" [dependencies.zeroize] version = "1.8.1" features = ["zeroize_derive"] [dev-dependencies.hex-literal] version = "0.4"