panorama/imap/Cargo.toml
Michael Zhang 3f09e8b55f
updates:
- reformat with 80char
- add SQLx to daemon
- add backtrace to anyhow
2021-10-13 00:50:48 -05:00

44 lines
1.3 KiB
TOML

[package]
name = "panorama-imap"
description = "IMAP protocol implementation with high-level async client."
version = "0.0.4"
edition = "2018"
authors = ["Michael Zhang <mail@mzhang.io>"]
keywords = ["imap", "email", "parser"]
license = "GPL-3.0-or-later"
categories = ["email"]
repository = "https://git.mzhang.io/michael/panorama"
documentation = "https://docs.rs/panorama-imap"
readme = "README.md"
workspace = ".."
[features]
default = ["rfc2177", "rfc6154"]
low-level = []
rfc2087 = [] # quota
rfc2177 = [] # idle
rfc4315 = [] # uidplus
rfc6154 = [] # list
fuzzing = ["arbitrary", "panorama-proto-common/fuzzing"]
[dependencies]
anyhow = { version = "1.0.42", features = ["backtrace"] }
async-trait = "0.1.51"
bitflags = "1.2.1"
bytes = "1.0.1"
chrono = "0.4.19"
derivative = "2.2.0"
derive_builder = "0.10.2"
format-bytes = "0.2.2"
futures = "0.3.16"
log = "0.4.14"
nom = "6.2.1"
stderrlog = { version = "0.5.1", optional = true }
tokio = { version = "1.9.0", features = ["full"] }
tokio-rustls = { version = "0.22.0", features = ["dangerous_configuration"] }
tokio-util = { version = "0.6.7", features = ["codec"] }
webpki-roots = "0.21.1"
panorama-proto-common = { path = "../proto-common" }
# for fuzzing
arbitrary = { version = "1", optional = true, features = ["derive"] }