summaryrefslogtreecommitdiffstats
path: root/third_party/rust/digest/Cargo.toml
blob: f9c467cf7c1bd6f4e378c09eab7acecb7cecafa5 (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 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 = "2018"
name = "digest"
version = "0.10.6"
authors = ["RustCrypto Developers"]
description = "Traits for cryptographic hash functions and message authentication codes"
documentation = "https://docs.rs/digest"
readme = "README.md"
keywords = [
    "digest",
    "crypto",
    "hash",
]
categories = [
    "cryptography",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RustCrypto/traits"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.blobby]
version = "0.3"
optional = true

[dependencies.block-buffer]
version = "0.10"
optional = true

[dependencies.const-oid]
version = "0.9"
optional = true

[dependencies.crypto-common]
version = "0.1.3"

[dependencies.subtle]
version = "=2.4"
optional = true
default-features = false

[features]
alloc = []
core-api = ["block-buffer"]
default = ["core-api"]
dev = ["blobby"]
mac = ["subtle"]
oid = ["const-oid"]
rand_core = ["crypto-common/rand_core"]
std = [
    "alloc",
    "crypto-common/std",
]