[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"