# 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 = "2024"
rust-version = "1.85"
name = "sha3"
version = "0.11.0-rc.2"
authors = ["RustCrypto Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Pure Rust implementation of SHA-3, a family of Keccak-based hash functions
including the SHAKE family of eXtendable-Output Functions (XOFs), as well as
the accelerated variant TurboSHAKE
"""
documentation = "https://docs.rs/sha3"
readme = "README.md"
keywords = [
    "sha3",
    "keccak",
    "hash",
    "digest",
]
categories = [
    "cryptography",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/RustCrypto/hashes"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = ["digest/alloc"]
asm = ["keccak/asm"]
default = [
    "alloc",
    "oid",
]
oid = ["digest/oid"]
zeroize = ["digest/zeroize"]

[lib]
name = "sha3"
path = "src/lib.rs"

[[test]]
name = "cshake"
path = "tests/cshake.rs"

[[test]]
name = "mod"
path = "tests/mod.rs"

[[test]]
name = "serialization"
path = "tests/serialization.rs"

[[test]]
name = "turboshake"
path = "tests/turboshake.rs"

[[bench]]
name = "mod"
path = "benches/mod.rs"

[dependencies.digest]
version = "0.11.0-rc.1"

[dependencies.keccak]
version = "=0.2.0-pre.0"

[dev-dependencies.base16ct]
version = "0.3"
features = ["alloc"]

[dev-dependencies.digest]
version = "0.11.0-rc.1"
features = ["dev"]

[dev-dependencies.hex-literal]
version = "1"
