[package]
name = "sequoia-openpgp-mt"
description = "Multi-threaded parsing of OpenPGP data"
version = "0.2.0"
authors = [
    "Neal H. Walfield <neal@sequoia-pgp.org>",
]
documentation = "https://docs.rs/sequoia-openpgp-mt"
edition = "2021"
readme = "README.md"
keywords = ["cryptography", "openpgp", "pgp", "multi-threaded", "parallel"]
categories = ["cryptography", "authentication", "email"]
license = "LGPL-2.0-or-later"
rust-version = "1.79"

[badges]
gitlab = { repository = "sequoia-pgp/sequoia-openpgp-mt" }
maintenance = { status = "passively-maintained" }

[dependencies]
anyhow = "1"
buffered-reader = "1"
num_cpus = "1"
sequoia-openpgp = { version = "2", default-features = false }

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

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