botan 0.14.0

Rust wrapper for Botan cryptography library
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 = "botan"
version = "0.14.0"
authors = ["Jack Lloyd <jack@randombit.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust wrapper for Botan cryptography library"
homepage = "https://botan.randombit.net/"
documentation = "https://docs.rs/botan"
readme = "README.md"
keywords = ["crypto"]
categories = [
    "cryptography",
    "api-bindings",
    "no-std",
]
license = "MIT"
repository = "https://github.com/randombit/botan-rs"
resolver = "2"

[package.metadata.docs.rs]
features = ["dynamic-loading"]

[features]
default = [
    "std",
    "rand",
]
dynamic-loading = [
    "botan-sys/dynamic-loading",
    "std",
]
pkg-config = ["botan-sys/pkg-config"]
rand = ["dep:rand_core"]
static = ["botan-sys/static"]
std = []
vendored = ["botan-sys/vendored"]

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

[[example]]
name = "version"
path = "examples/version.rs"

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

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

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

[dependencies.botan-sys]
version = "1.20260811.1"

[dependencies.rand_core]
version = "0.10"
optional = true
default-features = false

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

[dev-dependencies.wycheproof]
version = "0.6"
features = [
    "aead",
    "cipher",
    "dsa",
    "ecdh",
    "ecdsa",
    "eddsa",
    "hkdf",
    "keywrap",
    "mac",
    "primality",
    "rsa_enc",
    "rsa_sig",
    "xdh",
]
default-features = false

[lints.clippy]
should_implement_trait = "allow"