# 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.3.2" authors = ["Stalwart Labs Ltd. "] 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" [profile.bench] debug = 2 [lib] doctest = false [dependencies.ahash] version = "0.8" features = ["serde"] [dependencies.async-stream] version = "0.3" optional = true [dependencies.base64] version = "0.13" [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.11" features = ["rustls-tls-webpki-roots"] default-features = false [dependencies.rustls] version = "0.22" optional = true [dependencies.rustls-pki-types] version = "1" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.16" features = ["io-util"] optional = true default-features = false [dependencies.tokio-tungstenite] version = "0.21" features = ["rustls-tls-webpki-roots"] optional = true [features] async = [ "futures-util", "async-stream", "reqwest/stream", ] blocking = [ "reqwest/blocking", "maybe-async/is_sync", ] debug = [] default = [ "async", "websockets", ] websockets = [ "tokio", "tokio-tungstenite", "rustls", ]