# 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 = "br-email"
version = "0.1.37"
authors = ["Carryxd <7991156@qq.com>"]
exclude = [
    "INSTALL.md",
    "config",
    "examples",
    "Cargo.toml.temp",
]
description = "This is an Email"
readme = "README.md"
keywords = [
    "email",
    "pop3",
    "smtp",
]
license = "MIT"
resolver = "1"

[dependencies.br-crypto]
version = "0.1.14"
features = [
    "br_hash",
    "br_base64",
    "br_qp",
    "br_jwt",
    "br_hex",
    "br_encoding",
    "br_pkey",
]
optional = true
default-features = false

[dependencies.br-file]
version = "0.0.1"

[dependencies.chrono]
version = "0.4.26"

[dependencies.imap]
version = "3.0.0-alpha.10"
optional = true

[dependencies.json]
version = "0.12.4"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.lettre]
version = "0.10.1"
optional = true

[dependencies.log]
version = "0.4.17"

[dependencies.openssl]
version = "0.10.47"
optional = true

[dependencies.rs-pop3]
version = "1.0.8"
optional = true

[dev-dependencies.env_logger]
version = "0.10.0"

[features]
default = [
    "smtp",
    "pop3",
    "imaps",
]
imaps = [
    "imap",
    "imap/rustls-tls",
]
pop3 = [
    "rs-pop3",
    "openssl",
    "br-crypto",
]
smtp = ["lettre"]
