[package]
name = "sequoia-wot"
description = "An implementation of OpenPGP's web of trust."
version = "0.15.2"
authors = ["Neal H. Walfield <neal@sequoia-pgp.org>"]
homepage = "https://sequoia-pgp.org/"
repository = "https://gitlab.com/sequoia-pgp/sequoia-wot"
readme = "README.md"
keywords = ["cryptography", "openpgp", "trust-model",
         "authentication", "web-of-trust"]
categories = ["cryptography", "authentication", "email",
           "command-line-utilities"]
license = "LGPL-2.0-or-later"
edition = "2021"
rust-version = "1.85.0"

[badges]
maintenance = { status = "actively-developed" }

[dependencies]
anyhow = "1.0.18"
chrono = "0.4"
crossbeam = "0.8.1"
num_cpus = "1"
sequoia-cert-store = { version = "0.7.3", default-features = false }
sequoia-openpgp = { version = "2", default-features = false }
thiserror = ">=1, <3"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
chrono = { version = "0.4", default-features = false, features = ["std", "wasmbind", "clock"] }

[dev-dependencies]
quickcheck = { version = "1", default-features = false }

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

[target.'cfg(not(windows))'.dev-dependencies]
# Enables a crypto backend for the tests:
sequoia-openpgp = { version = "2", default-features = false, features = ["crypto-nettle", "__implicit-crypto-backend-for-tests"]  }

[target.'cfg(windows)'.dev-dependencies]
# Enables a crypto backend for the tests:
sequoia-openpgp = { version = "2", default-features = false, features = ["crypto-cng", "__implicit-crypto-backend-for-tests"] }

[lints]
workspace = true

[package.metadata.docs.rs]
# Enables a crypto backend for the docs.rs generation:
features = ["sequoia-openpgp/default"]
