| 1 |
[package] |
| 2 |
name = "digest" |
| 3 |
description = "Traits for cryptographic hash functions and message authentication codes" |
| 4 |
version = "0.10.7" |
| 5 |
authors = ["RustCrypto Developers"] |
| 6 |
license = "MIT OR Apache-2.0" |
| 7 |
readme = "README.md" |
| 8 |
edition = "2018" |
| 9 |
documentation = "https://docs.rs/digest" |
| 10 |
repository = "https://github.com/RustCrypto/traits" |
| 11 |
keywords = ["digest", "crypto", "hash"] |
| 12 |
categories = ["cryptography", "no-std"] |
| 13 |
|
| 14 |
[dependencies] |
| 15 |
crypto-common = { version = "0.1.3", path = "../crypto-common" } |
| 16 |
|
| 17 |
# optional dependencies |
| 18 |
block-buffer = { version = "0.10", optional = true } |
| 19 |
subtle = { version = "2.4", default-features = false, optional = true } |
| 20 |
blobby = { version = "0.3", optional = true } |
| 21 |
const-oid = { version = "0.9", optional = true } |
| 22 |
|
| 23 |
[features] |
| 24 |
default = ["core-api"] |
| 25 |
core-api = ["block-buffer"] # Enable Core API traits |
| 26 |
mac = ["subtle"] # Enable MAC traits |
| 27 |
rand_core = ["crypto-common/rand_core"] # Enable random key generation methods |
| 28 |
oid = ["const-oid"] # OID support. WARNING: Bumps MSRV to 1.57 |
| 29 |
alloc = [] |
| 30 |
std = ["alloc", "crypto-common/std"] |
| 31 |
dev = ["blobby"] |
| 32 |
|
| 33 |
[package.metadata.docs.rs] |
| 34 |
all-features = true |
| 35 |
rustdoc-args = ["--cfg", "docsrs"] |