cryptkit 0.1.0

Cryptographic primitives for Rust — HMAC-SHA256, AES-GCM, constant-time comparison, and secure random with zeroize
Documentation
# 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 = "cryptkit"
version = "0.1.0"
build = false
exclude = ["/target"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic primitives for Rust — HMAC-SHA256, AES-GCM, constant-time comparison, and secure random with zeroize"
readme = "README.md"
keywords = [
    "crypto",
    "hmac",
    "aes-gcm",
    "constant-time",
    "zeroize",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/WyattAu/cryptkit"

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

[features]
aes-gcm = ["dep:aes-gcm"]
default = [
    "hmac_sha256",
    "aes-gcm",
]
ed25519 = ["dep:ed25519-dalek"]
fips = ["dep:ring"]
hmac_sha256 = [
    "dep:hmac",
    "dep:sha2",
]

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

[[bench]]
name = "crypto_bench"
path = "benches/crypto_bench.rs"
harness = false

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.ed25519-dalek]
version = "2"
optional = true

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.ring]
version = "0.17"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.zeroize]
version = "1"
features = ["zeroize_derive"]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.proptest]
version = "1"