jmap-client 0.4.1

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 = "2021"
name = "jmap-client"
version = "0.4.1"
authors = ["Stalwart Labs LLC <hello@stalw.art>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JMAP client library for Rust"
homepage = "https://github.com/stalwartlabs/jmap-client"
readme = "README.md"
keywords = [
    "jmap",
    "email",
    "mail",
    "e-mail",
]
categories = ["email"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/stalwartlabs/jmap-client"
resolver = "2"

[features]
async = [
    "futures-util",
    "async-stream",
    "reqwest/stream",
]
aws-lc-rs = ["aws_lc_rs"]
aws_lc_rs = ["rustls/aws_lc_rs"]
blocking = [
    "reqwest/blocking",
    "maybe-async/is_sync",
]
debug = []
default = [
    "async",
    "websockets",
    "aws_lc_rs",
]
ring = ["rustls/ring"]
websockets = [
    "tokio",
    "tokio-tungstenite",
    "rustls",
]

[lib]
name = "jmap_client"
path = "src/lib.rs"
doctest = false

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

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

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

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

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

[dependencies.ahash]
version = "0.8"
features = ["serde"]

[dependencies.async-stream]
version = "0.3"
optional = true

[dependencies.base64]
version = "0.22"

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

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.maybe-async]
version = "0.2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "http2",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["std"]
optional = true
default-features = false

[dependencies.rustls-pki-types]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.51"
features = ["io-util"]
optional = true
default-features = false

[dependencies.tokio-tungstenite]
version = "0.29"
features = ["rustls-tls-native-roots"]
optional = true

[profile.bench]
debug = 2