40 lines
1.3 KiB
TOML
40 lines
1.3 KiB
TOML
[package]
|
|
name = "jmap-client"
|
|
description = "JMAP client library for Rust"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
authors = [ "Stalwart Labs Ltd. <hello@stalw.art>"]
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/stalwartlabs/jmap-client"
|
|
homepage = "https://github.com/stalwartlabs/jmap-client"
|
|
keywords = ["jmap", "email", "mail", "e-mail"]
|
|
categories = ["email"]
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
reqwest = { git = "https://github.com/stalwartlabs/reqwest.git", version = "0.11", default-features = false, features = ["rustls-tls"]}
|
|
tokio-tungstenite = { version = "0.17", features = ["rustls-tls-webpki-roots"], optional = true}
|
|
tokio = { version = "1.16", default-features = false, features = ["io-util"], optional = true }
|
|
futures-util = { version = "0.3", optional = true}
|
|
async-stream = { version = "0.3", optional = true}
|
|
serde = { version = "1.0", features = ["derive"]}
|
|
serde_json = "1.0"
|
|
chrono = { version = "0.4", features = ["serde"]}
|
|
ahash = {version = "0.8", features = ["serde"]}
|
|
parking_lot = "0.12"
|
|
base64 = "0.13"
|
|
|
|
[features]
|
|
default = ["async"]
|
|
async = ["futures-util", "async-stream", "reqwest/stream"]
|
|
websockets = ["tokio", "tokio-tungstenite"]
|
|
blocking = ["reqwest/blocking"]
|
|
follow-trusted = []
|
|
debug = []
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[profile.bench]
|
|
debug = true
|