wecanencrypt 0.8.0

Simple Rust OpenPGP library for encryption, signing, and key management.
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 = "2021"
name = "wecanencrypt"
version = "0.8.0"
build = false
include = [
    "/Cargo.toml",
    "/README.md",
    "/src/**",
    "/examples/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple Rust OpenPGP library for encryption, signing, and key management."
readme = "README.md"
keywords = [
    "openpgp",
    "encryption",
    "cryptography",
    "pgp",
    "gpg",
]
categories = [
    "cryptography",
    "authentication",
]
license = "MIT"
repository = "https://github.com/kushaldas/wecanencrypt"

[package.metadata.docs.rs]
features = [
    "keystore",
    "network",
    "card",
    "dane",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
card = [
    "openpgp-card",
    "card-backend-pcsc",
    "secrecy",
    "digest",
    "aes",
    "aes-kw",
    "hkdf",
]
dane = ["hickory-proto"]
default = [
    "keystore",
    "network",
]
draft-pqc = ["pgp/draft-pqc"]
keystore = ["rusqlite"]
network = [
    "reqwest",
    "sha1",
]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aes]
version = "0.8"
optional = true

[dependencies.aes-kw]
version = "0.2"
optional = true

[dependencies.anyhow]
version = "1.0"

[dependencies.card-backend-pcsc]
version = "0.5"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.digest]
version = "0.10"
optional = true

[dependencies.ed25519-dalek]
version = "2"
features = ["zeroize"]

[dependencies.hex]
version = "0.4"

[dependencies.hickory-proto]
version = "0.25"
optional = true
default-features = false

[dependencies.hkdf]
version = "0.12"
optional = true

[dependencies.openpgp-card]
version = "0.6"
optional = true

[dependencies.p256]
version = "0.13"

[dependencies.p384]
version = "0.13"

[dependencies.p521]
version = "0.13"

[dependencies.pgp]
version = "0.19"
features = ["bzip2"]
default-features = false

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = ["blocking"]
optional = true

[dependencies.rsa]
version = "0.9"

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

[dependencies.secrecy]
version = "0.10"
optional = true

[dependencies.sha1]
version = "0.10"
optional = true

[dependencies.sha2]
version = "0.10"

[dependencies.sshkeys]
version = "0.3"

[dependencies.thiserror]
version = "2.0"

[dependencies.zeroize]
version = "1.8"

[dev-dependencies.ed25519-dalek]
version = "2"

[dev-dependencies.hex-literal]
version = "0.4"

[dev-dependencies.p256]
version = "0.13"
features = ["ecdsa"]

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.tempfile]
version = "3.0"

[dev-dependencies.testresult]
version = "0.4.1"