-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
45 lines (40 loc) · 1.28 KB
/
Cargo.toml
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
[package]
name = "async-smtp"
version = "0.10.0"
description = "SMTP client"
readme = "README.md"
homepage = "https://github.com/async-email/async-smtp"
repository = "https://github.com/async-email/async-smtp"
license = "MIT OR Apache-2.0"
authors = ["dignifiedquire <[email protected]>"]
categories = ["email"]
keywords = ["email", "smtp", "mailer"]
edition = "2021"
[badges]
maintenance = { status = "actively-developed" }
is-it-maintained-issue-resolution = { repository = "async-email/async-smtp" }
is-it-maintained-open-issues = { repository = "async-email/async-smtp" }
[dependencies]
pin-project = "1"
anyhow = "1"
async-std = { version = "1.11", features = ["unstable"], optional = true }
base64 = "^0.13"
futures = "0.3.21"
log = "^0.4"
nom = "^7.0"
thiserror = "1"
tokio = { version = "1", default-features = false, features = ["time", "io-util"], optional = true }
[dev-dependencies]
env_logger = "^0.9"
glob = "^0.3"
criterion = "^0.3"
async-std = { version = "1.11", features = ["unstable", "attributes"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "net", "time", "macros"] }
[[example]]
name = "send"
path = "examples/send.rs"
required-features = ["runtime-tokio"]
[features]
default = ["runtime-tokio"]
runtime-async-std = ["async-std"]
runtime-tokio = ["tokio"]