protonmail-client 0.1.0

IMAP client library for Proton Mail via Proton Bridge
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"
rust-version = "1.90.0"
name = "protonmail-client"
version = "0.1.0"
build = false
exclude = [
    ".github/",
    "taplo.toml",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "IMAP client library for Proton Mail via Proton Bridge"
readme = "README.md"
keywords = [
    "imap",
    "email",
    "protonmail",
    "proton-bridge",
]
categories = [
    "email",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/LeakIX/protonmail-client"

[features]
cli = [
    "anyhow",
    "clap",
    "tracing-subscriber",
]

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

[[bin]]
name = "proton-cli"
path = "src/bin/proton-cli.rs"
required-features = ["cli"]

[dependencies.anyhow]
version = "1.0"
optional = true

[dependencies.async-imap]
version = "0.11"

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

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.dotenvy]
version = "0.15"

[dependencies.email-extract]
version = "0.1.0"

[dependencies.futures]
version = "0.3"

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.44"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]
optional = true

[dev-dependencies.imap-codec]
version = "2.0.0-alpha.6"

[dev-dependencies.rcgen]
version = "0.13"

[dev-dependencies.rustls-pemfile]
version = "2"

[dev-dependencies.tokio]
version = "1.44"
features = ["full"]

[lints.clippy]
all = "deny"
nursery = "deny"
pedantic = "deny"