botan 0.13.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.13.0"
authors = ["Jack Lloyd <jack@randombit.net>"]
build = "build.rs"
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"

[features]
default = [
    "std",
    "rand",
]
pkg-config = ["botan-sys/pkg-config"]
rand = ["dep:rand"]
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 = "tests"
path = "tests/tests.rs"

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

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

[dependencies.rand]
version = "0.9.2"
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"