1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
[package]
name = "imap-types"
description = "Misuse-resistant data structures for IMAP"
keywords = ["email", "imap", "types"]
categories = ["email", "data-structures", "network-programming"]
version = "2.0.0-alpha.4"
authors = ["Damian Poddebniak <poddebniak@mailbox.org>"]
repository = "https://github.com/duesee/imap-codec"
license = "MIT OR Apache-2.0"
edition = "2021"
exclude = [
".github",
]
[features]
arbitrary = ["dep:arbitrary", "chrono/arbitrary", "chrono/std"]
arbitrary_simplified = ["arbitrary"]
serde = ["dep:serde", "chrono/serde"]
tag_generator = ["dep:rand"]
# IMAP
starttls = []
ext_condstore_qresync = []
ext_id = []
ext_login_referrals = []
ext_mailbox_referrals = []
ext_metadata = []
[dependencies]
arbitrary = { version = "1.4.1", optional = true, default-features = false, features = ["derive"] }
base64 = { version = "0.22", default-features = false, features = ["alloc"] }
bounded-static-derive = { version = "0.8.0", default-features = false }
bounded-static = { version = "0.8.0", default-features = false, features = ["alloc"] }
chrono = { version = "0.4", default-features = false }
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"], optional = true }
serde = { version = "1.0.215", features = ["derive"], optional = true }
thiserror = "2.0.3"
[dev-dependencies]
rand = { version = "0.8", default-features = false, features = ["small_rng"] }
serde_json = { version = "1.0.133" }
[[example]]
name = "serde_json"
path = "examples/serde_json.rs"
required-features = ["serde"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
|