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