| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
rust-version = "1.85" |
| 15 |
name = "sm3" |
| 16 |
version = "0.5.0" |
| 17 |
authors = ["RustCrypto Developers"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "SM3 (OSCCA GM/T 0004-2012) hash function" |
| 25 |
documentation = "https://docs.rs/sm3" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"sm3", |
| 29 |
"hash", |
| 30 |
"digest", |
| 31 |
] |
| 32 |
categories = [ |
| 33 |
"cryptography", |
| 34 |
"no-std", |
| 35 |
] |
| 36 |
license = "MIT OR Apache-2.0" |
| 37 |
repository = "https://github.com/RustCrypto/hashes" |
| 38 |
|
| 39 |
[package.metadata.docs.rs] |
| 40 |
all-features = true |
| 41 |
|
| 42 |
[features] |
| 43 |
alloc = ["digest/alloc"] |
| 44 |
default = [ |
| 45 |
"alloc", |
| 46 |
"oid", |
| 47 |
] |
| 48 |
oid = ["digest/oid"] |
| 49 |
zeroize = ["digest/zeroize"] |
| 50 |
|
| 51 |
[lib] |
| 52 |
name = "sm3" |
| 53 |
path = "src/lib.rs" |
| 54 |
|
| 55 |
[[test]] |
| 56 |
name = "mod" |
| 57 |
path = "tests/mod.rs" |
| 58 |
|
| 59 |
[[bench]] |
| 60 |
name = "mod" |
| 61 |
path = "benches/mod.rs" |
| 62 |
|
| 63 |
[dependencies.digest] |
| 64 |
version = "0.11" |
| 65 |
|
| 66 |
[dev-dependencies.digest] |
| 67 |
version = "0.11" |
| 68 |
features = ["dev"] |
| 69 |
|
| 70 |
[dev-dependencies.hex-literal] |
| 71 |
version = "1" |