# 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.7"
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",
]
