ceal 0.1.0

Opportunistic E-Mail Encryption - Stand-Alone Library and Extensions for Lettre
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 = "ceal"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opportunistic E-Mail Encryption - Stand-Alone Library and Extensions for Lettre"
readme = "README.md"
keywords = [
    "smime",
    "pgp",
    "gpg",
    "encryption",
    "email",
]
categories = [
    "email",
    "cryptography",
]
license = "EPL-2.0"
repository = "https://codeberg.org/msrd0/ceal"
resolver = "3"

[features]
aws-lc-rs = ["hickory-resolver/dnssec-aws-lc-rs"]
default = [
    "aws-lc-rs",
    "tokio",
]
lettre = [
    "dep:async-trait",
    "dep:lettre",
]
openssl-vendored = ["openssl/vendored"]
ring = ["hickory-resolver/dnssec-ring"]
tokio = [
    "hickory-resolver/tokio",
    "lettre?/tokio1-native-tls",
]

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

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

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

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.base64]
version = "0.22.1"

[dependencies.email_address]
version = "0.2.9"
default-features = false

[dependencies.futures-util]
version = "0.3.32"

[dependencies.hickory-resolver]
version = "=0.26.0-beta.2"
features = ["recursor"]
default-features = false

[dependencies.lettre]
version = "0.11.19"
optional = true
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.mail-parser]
version = "0.11.2"

[dependencies.openssl]
version = "0.10.76"

[dependencies.rand]
version = "0.10"

[dependencies.sequoia-openpgp]
version = "2.2"
features = [
    "compression",
    "crypto-openssl",
]
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.lettre]
version = "0.11.19"
features = [
    "builder",
    "smtp-transport",
]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
await_holding_lock = "allow"
doc_lazy_continuation = "allow"
manual_async_fn = "allow"
manual_is_multiple_of = "allow"
manual_range_contains = "allow"
tabs_in_doc_comments = "allow"

[lints.rust]
elided_lifetimes_in_paths = "forbid"
improper_ctypes_definitions = "deny"
type_alias_bounds = "allow"
unreachable_pub = "warn"
unsafe_code = "forbid"