gpg-inspector-lib 0.8.0

A library for parsing and inspecting OpenPGP (GPG) packets according to RFC 4880 and RFC 9580
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 = "gpg-inspector-lib"
version = "0.8.0"
authors = ["Jacob Heider <jhheider@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for parsing and inspecting OpenPGP (GPG) packets according to RFC 4880 and RFC 9580"
documentation = "https://docs.rs/gpg-inspector-lib"
readme = "README.md"
keywords = [
    "gpg",
    "openpgp",
    "pgp",
    "cryptography",
    "parsing",
]
categories = [
    "cryptography",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/jhheider/gpg-inspector"

[features]
decompress = [
    "dep:flate2",
    "dep:bzip2",
]
default = ["decompress"]

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

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

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

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

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

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

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

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

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

[dependencies.bzip2]
version = "0.6"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.flate2]
version = "1"
optional = true

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"