# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "imap"
version = "3.0.0-alpha.3"
authors = ["Jon Gjengset <jon@thesquareplanet.com>", "Matt McCoy <mattnenterprise@yahoo.com>"]
description = "IMAP client for Rust"
homepage = "https://github.com/jonhoo/rust-imap"
documentation = "https://docs.rs/imap/"
keywords = ["email", "imap"]
categories = ["email", "network-programming"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jonhoo/rust-imap"

[[example]]
name = "basic"
required-features = ["default"]

[[example]]
name = "gmail_oauth2"
required-features = ["default"]

[[example]]
name = "idle"
required-features = ["default"]

[[test]]
name = "imap_integration"
required-features = ["default"]
[dependencies.base64]
version = "0.13"

[dependencies.bufstream]
version = "0.1"

[dependencies.chrono]
version = "0.4"
default-features = false

[dependencies.imap-proto]
version = "0.14.1"

[dependencies.lazy_static]
version = "1.4"

[dependencies.native-tls]
version = "0.2.2"
optional = true

[dependencies.nom]
version = "6.0"
default-features = false

[dependencies.regex]
version = "1.0"
[dev-dependencies.lettre]
version = "0.9"

[dev-dependencies.lettre_email]
version = "0.9"

[dev-dependencies.rustls-connector]
version = "0.13.0"

[dev-dependencies.structopt]
version = "0.3"

[features]
default = ["tls"]
tls = ["native-tls"]
