mail-server/tests/Cargo.toml

65 lines
2.6 KiB
TOML
Raw Normal View History

2023-04-04 21:12:46 +08:00
[package]
name = "tests"
version = "0.1.0"
edition = "2021"
2023-04-19 23:09:37 +08:00
resolver = "2"
2023-04-04 21:12:46 +08:00
2023-05-28 20:52:52 +08:00
[features]
2023-12-13 01:45:52 +08:00
#default = ["sqlite", "foundationdb", "postgres", "mysql", "rocks", "elastic", "s3", "redis"]
2023-12-17 04:24:34 +08:00
default = ["sqlite", "postgres", "mysql", "redis", "rocks", "foundationdb"]
2023-05-28 20:52:52 +08:00
sqlite = ["store/sqlite"]
foundationdb = ["store/foundation"]
2023-12-02 22:52:05 +08:00
postgres = ["store/postgres"]
mysql = ["store/mysql"]
rocks = ["store/rocks"]
2023-12-04 02:40:16 +08:00
elastic = ["store/elastic"]
s3 = ["store/s3"]
2023-12-13 01:45:52 +08:00
redis = ["store/redis"]
2023-05-28 20:52:52 +08:00
2023-10-21 23:19:01 +08:00
[dev-dependencies]
2023-04-11 22:45:07 +08:00
store = { path = "../crates/store", features = ["test_mode"] }
nlp = { path = "../crates/nlp" }
2023-06-02 17:03:30 +08:00
directory = { path = "../crates/directory" }
jmap = { path = "../crates/jmap", features = ["test_mode"] }
2023-04-19 23:09:37 +08:00
jmap_proto = { path = "../crates/jmap-proto" }
2023-06-26 02:00:45 +08:00
imap = { path = "../crates/imap", features = ["test_mode"] }
imap_proto = { path = "../crates/imap-proto" }
2023-05-18 01:35:36 +08:00
smtp = { path = "../crates/smtp", features = ["test_mode", "local_delivery"] }
managesieve = { path = "../crates/managesieve", features = ["test_mode"] }
2023-05-17 02:25:38 +08:00
smtp-proto = { git = "https://github.com/stalwartlabs/smtp-proto" }
2023-07-22 02:21:51 +08:00
mail-send = { git = "https://github.com/stalwartlabs/mail-send", default-features = false, features = ["cram-md5", "skip-ehlo"] }
2023-05-17 02:25:38 +08:00
mail-auth = { git = "https://github.com/stalwartlabs/mail-auth", features = ["test"] }
2023-09-06 00:23:52 +08:00
sieve-rs = { git = "https://github.com/stalwartlabs/sieve" }
2023-05-17 18:45:43 +08:00
utils = { path = "../crates/utils", features = ["test_mode"] }
2023-05-28 16:41:30 +08:00
jmap-client = { git = "https://github.com/stalwartlabs/jmap-client", features = ["websockets", "debug", "async"] }
2023-04-19 23:09:37 +08:00
mail-parser = { git = "https://github.com/stalwartlabs/mail-parser", features = ["full_encoding", "serde_support", "ludicrous_mode"] }
2023-04-04 21:12:46 +08:00
tokio = { version = "1.23", features = ["full"] }
2023-12-08 17:46:20 +08:00
tokio-rustls = { version = "0.25.0"}
rustls = "0.22"
2023-12-02 22:52:05 +08:00
rustls-pemfile = "2.0"
2023-12-08 17:46:20 +08:00
rustls-pki-types = { version = "1" }
2023-04-04 21:12:46 +08:00
csv = "1.1"
rayon = { version = "1.5.1" }
flate2 = { version = "1.0.17", features = ["zlib"], default-features = false }
2023-04-19 23:09:37 +08:00
serde = { version = "1.0", features = ["derive"]}
serde_json = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
2023-08-02 21:48:15 +08:00
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls-webpki-roots", "multipart"]}
2023-05-14 20:34:49 +08:00
bytes = "1.4.0"
futures = "0.3"
ece = "2.2"
hyper = { version = "1.0.1", features = ["server", "http1", "http2"] }
hyper-util = { version = "0.1.1", features = ["tokio"] }
http-body-util = "0.1.0"
base64 = "0.21"
2023-05-17 02:25:38 +08:00
dashmap = "5.4"
ahash = { version = "0.8" }
serial_test = "2.0.0"
num_cpus = "1.15.0"
async-trait = "0.1.68"
2023-05-21 02:50:24 +08:00
chrono = "0.4"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = "0.5.0"