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"
name = "minipgp6"
version = "0.0.3"
authors = ["Heiko Schaefer <heiko@schaefer.name>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "minipgp6"
homepage = "https://minipgp6.org"
readme = false
keywords = [
    "openpgp",
    "rfc9580",
    "cryptography",
    "pgp",
]
license = "Apache-2.0 OR MIT"
repository = "https://codeberg.org/minipgp6/minipgp6"

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

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

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

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

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

[dependencies.minipgp6-encrypt]
version = "0.0.3"

[dependencies.minipgp6-lock]
version = "0.0.3"

[dependencies.minipgp6-packet]
version = "0.0.3"

[dependencies.minipgp6-sign]
version = "0.0.3"

[dependencies.minipgp6-validity]
version = "0.0.3"

[dependencies.rand]
version = "0.8"

[dependencies.secrecy]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

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

[lints.clippy]
expect_used = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_results = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rustdoc]
broken_intra_doc_links = "deny"