io-jmap 0.2.0

JMAP client library for Rust
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.87"
name = "io-jmap"
version = "0.2.0"
authors = ["soywod <pimalaya.org@posteo.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JMAP client library for Rust"
homepage = "https://pimalaya.org"
documentation = "https://docs.rs/io-jmap/latest/io_jmap"
readme = "README.md"
keywords = [
    "io-free",
    "no-std",
    "coroutine",
    "jmap",
    "email",
]
categories = [
    "api-bindings",
    "email",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pimalaya/io-jmap"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
client = []
default = ["rustls-ring"]
native-tls = [
    "client",
    "pimalaya-stream/native-tls",
    "dep:anyhow",
    "dep:pimalaya-stream",
]
rustls-aws = [
    "client",
    "pimalaya-stream/rustls-aws",
    "dep:anyhow",
    "dep:pimalaya-stream",
]
rustls-ring = [
    "client",
    "pimalaya-stream/rustls-ring",
    "dep:anyhow",
    "dep:pimalaya-stream",
]
vendored = ["pimalaya-stream?/vendored"]

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

[[example]]
name = "push_subscription"
path = "examples/push_subscription.rs"
required-features = ["rustls-ring"]

[[example]]
name = "session"
path = "examples/session.rs"
required-features = ["rustls-ring"]

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

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

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

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

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

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

[dependencies.io-http]
version = "0.3"
default-features = false

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

[dependencies.pimalaya-stream]
version = "0.1"
optional = true
default-features = false

[dependencies.secrecy]
version = "0.10"
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.serde_json]
version = "1"
features = ["alloc"]
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.url]
version = "2.5"
features = ["serde"]
default-features = false

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.rustls]
version = "0.23"
features = [
    "logging",
    "ring",
    "std",
    "tls12",
]
default-features = false

[dev-dependencies.rustls-platform-verifier]
version = "0.7"

[dev-dependencies.secrecy]
version = "0.10"
default-features = false

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

[dev-dependencies.url]
version = "2.5"
default-features = false