-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 1.24 KB
/
Cargo.toml
File metadata and controls
43 lines (37 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "digest"
version = "0.11.3"
authors = ["RustCrypto Developers"]
edition = "2024"
rust-version = "1.85"
documentation = "https://docs.rs/digest"
readme = "README.md"
repository = "https://github.com/RustCrypto/traits"
license = "MIT OR Apache-2.0"
keywords = ["digest", "crypto", "hash"]
categories = ["cryptography", "no-std"]
description = "Traits for cryptographic hash functions and message authentication codes"
[dependencies]
common = { version = "0.2", package = "crypto-common" }
# optional dependencies
block-buffer = { version = "0.12", optional = true }
blobby = { version = "0.4", optional = true }
const-oid = { version = "0.10", optional = true }
ctutils = { version = "0.4", optional = true }
zeroize = { version = "1.7", optional = true, default-features = false }
[dev-dependencies]
sha2 = "0.11"
[features]
default = ["block-api"]
alloc = []
block-api = ["dep:block-buffer"] # Enable block API traits
dev = ["blobby"]
getrandom = ["common/getrandom", "rand_core"]
mac = ["dep:ctutils"] # Enable MAC traits
rand_core = ["common/rand_core"] # Enable random key generation methods
oid = ["dep:const-oid"]
zeroize = ["dep:zeroize", "block-buffer?/zeroize"]
[lints]
workspace = true
[package.metadata.docs.rs]
all-features = true