# 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.56"
name = "dryoc"
version = "0.7.1"
authors = ["Brenden Matthews <brenden@brndn.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Don't Roll Your Own Crypto: pure-Rust, hard to misuse cryptography library"
documentation = "https://docs.rs/dryoc"
readme = "README.md"
keywords = [
    "cryptography",
    "nacl",
    "libsodium",
    "curve25519",
    "crypto_box",
]
categories = [
    "cryptography",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/brndnmtthws/dryoc"

[package.metadata.docs.rs]
features = [
    "nightly",
    "serde",
    "base64",
]

[features]
default = ["u64_backend"]
nightly = []
simd_backend = ["sha2/asm"]
u64_backend = []

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

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

[dependencies.base64]
version = "0.21"
optional = true

[dependencies.bitflags]
version = "2.3"

[dependencies.chacha20]
version = "0.9"
features = ["zeroize"]

[dependencies.curve25519-dalek]
version = "4.1.3"

[dependencies.generic-array]
version = "0.14"

[dependencies.lazy_static]
version = "1"

[dependencies.rand_core]
version = "0.9"
features = ["os_rng"]

[dependencies.salsa20]
version = "0.10"
features = ["zeroize"]

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2.4"

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

[dev-dependencies.base64]
version = "0.21"

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

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

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.libsodium-sys]
version = "0.2"

[dev-dependencies.num-bigint]
version = "0.4"
features = ["rand"]

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

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

[dev-dependencies.sodiumoxide]
version = "0.2"

[dev-dependencies.static_assertions]
version = "1.1"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "impl-default",
    "memoryapi",
    "minwindef",
    "std",
    "sysinfoapi",
    "winnt",
]
