# 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 = "2021"
rust-version = "1.89"
name = "oxicrypto-hash"
version = "0.2.0"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust hash implementations for OxiCrypto (SHA-2, SHA-3, BLAKE3)"
readme = "README.md"
keywords = [
    "cryptography",
    "hash",
    "sha2",
    "sha3",
    "blake3",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxicrypto"

[features]
default = []
no_std = []
std = [
    "blake3/std",
    "oxicrypto-core/std",
]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.blake2]
version = "0.11.0-rc.6"
features = ["alloc"]
default-features = false

[dependencies.blake3]
version = "1.8.5"
default-features = false

[dependencies.cshake]
version = "0.2.1"
features = ["alloc"]
default-features = false

[dependencies.digest]
version = "0.11.3"
features = ["alloc"]
default-features = false

[dependencies.oxicrypto-core]
version = "0.2.0"

[dependencies.sha2]
version = "0.11.0"
features = ["alloc"]
default-features = false

[dependencies.sha3]
version = "0.12.0"
features = ["alloc"]
default-features = false

[dependencies.shake]
version = "0.1.0"
features = ["alloc"]
default-features = false

[dev-dependencies.hex]
version = "0.4.3"
features = ["alloc"]
default-features = false
