# 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 = "imap-next" version = "0.3.0" build = false exclude = [".github"] autobins = false autoexamples = false autotests = false autobenches = false description = "Thin sans I/O abstraction over IMAP's distinct protocol flows" readme = "README.md" keywords = [ "email", "imap", "protocol", "network", ] categories = [ "email", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/duesee/imap-next" [lib] name = "imap_next" path = "src/lib.rs" [[example]] name = "client" path = "examples/client.rs" [[example]] name = "client_authenticate" path = "examples/client_authenticate.rs" [[example]] name = "client_idle" path = "examples/client_idle.rs" [[example]] name = "client_std" path = "examples/client_std.rs" [[example]] name = "server" path = "examples/server.rs" [[example]] name = "server_authenticate" path = "examples/server_authenticate.rs" [[example]] name = "server_idle" path = "examples/server_idle.rs" [dependencies.bytes] version = "1.7.2" optional = true [dependencies.imap-codec] version = "2.0.0-alpha.5" features = ["quirk_crlf_relaxed"] [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.40.0" features = [ "io-util", "macros", "net", ] optional = true [dependencies.tokio-rustls] version = "0.26.0" optional = true default-features = false [dependencies.tracing] version = "0.1.40" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tokio] version = "1.40.0" features = ["full"] [features] arbitrary = ["imap-codec/arbitrary"] arbitrary_simplified = ["imap-codec/arbitrary_simplified"] default = ["stream"] expose_stream = [] ext_condstore_qresync = ["imap-codec/ext_condstore_qresync"] ext_id = ["imap-codec/ext_id"] ext_login_referrals = ["imap-codec/ext_login_referrals"] ext_mailbox_referrals = ["imap-codec/ext_mailbox_referrals"] ext_metadata = ["imap-codec/ext_metadata"] serde = ["imap-codec/serde"] starttls = ["imap-codec/starttls"] stream = [ "dep:bytes", "dep:tokio", "dep:tokio-rustls", ] tag_generator = ["imap-codec/tag_generator"]