[package]
name = "br-email"
version = "0.0.2"
edition = "2021"
authors = ["Carryxd <7991156@qq.com>"]
keywords = ["email", "pop3", "smtp"]
readme = "README.md"
exclude = ["INSTALL.md", "config", "examples"]
license = "MIT"
description = "This is an Email"

[features]
smtp = ["lettre"]
pop3 = ["rs-pop3", "openssl", "br-crypto"]
default = ["smtp", "pop3"]

[dependencies]
json = "0.12.4"
log = "0.4.17"

# smtp
lettre = { version = "0.10.1", optional = true }

# pop3
rs-pop3 = { version = "1.0.8", optional = true }
openssl = { version = "0.10.47", optional = true }
br-crypto = { version = "0.0.4", optional = true }

[dev-dependencies]
env_logger = "0.10.0"
br-file = "0.0.1"