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]
|
2024-05-13 00:15:41 +08:00
|
|
|
default = ["sqlite", "postgres", "mysql", "rocks", "elastic", "s3", "redis"]
|
|
|
|
#default = ["sqlite", "postgres", "mysql", "rocks", "elastic", "s3", "redis", "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"] }
|
2023-10-11 00:58:38 +08:00
|
|
|
nlp = { path = "../crates/nlp" }
|
2024-03-27 01:40:41 +08:00
|
|
|
directory = { path = "../crates/directory", features = ["test_mode"] }
|
2023-06-03 02:02:35 +08:00
|
|
|
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" }
|
2024-05-22 17:28:35 +08:00
|
|
|
pop3 = { path = "../crates/pop3", features = ["test_mode"] }
|
2024-06-21 01:11:15 +08:00
|
|
|
smtp = { path = "../crates/smtp", features = ["test_mode"] }
|
2024-03-25 02:20:36 +08:00
|
|
|
common = { path = "../crates/common", features = ["test_mode"] }
|
2023-06-30 00:51:26 +08:00
|
|
|
managesieve = { path = "../crates/managesieve", features = ["test_mode"] }
|
2023-12-28 18:57:21 +08:00
|
|
|
smtp-proto = { version = "0.1" }
|
2024-07-03 21:14:50 +08:00
|
|
|
mail-send = { version = "0.4", default-features = false, features = ["cram-md5", "ring", "tls12"] }
|
2024-05-18 16:39:27 +08:00
|
|
|
mail-auth = { version = "0.4", features = ["test"] }
|
2024-03-29 00:21:32 +08:00
|
|
|
sieve-rs = { version = "0.5" }
|
2023-05-17 18:45:43 +08:00
|
|
|
utils = { path = "../crates/utils", features = ["test_mode"] }
|
2023-12-28 18:57:21 +08:00
|
|
|
jmap-client = { version = "0.3", features = ["websockets", "debug", "async"] }
|
|
|
|
mail-parser = { version = "0.9", features = ["full_encoding", "serde_support", "ludicrous_mode"] }
|
2023-04-04 21:12:46 +08:00
|
|
|
tokio = { version = "1.23", features = ["full"] }
|
2024-07-03 21:14:50 +08:00
|
|
|
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] }
|
|
|
|
rustls = { version = "0.23.5", default-features = false, features = ["std", "ring", "tls12"] }
|
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"] }
|
2024-03-27 18:35:02 +08:00
|
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-webpki-roots", "multipart", "http2"]}
|
2023-05-14 20:34:49 +08:00
|
|
|
bytes = "1.4.0"
|
2023-05-15 23:21:09 +08:00
|
|
|
futures = "0.3"
|
2024-06-22 23:30:11 +08:00
|
|
|
ece = "2.2"
|
2023-11-27 17:06:48 +08:00
|
|
|
hyper = { version = "1.0.1", features = ["server", "http1", "http2"] }
|
|
|
|
hyper-util = { version = "0.1.1", features = ["tokio"] }
|
|
|
|
http-body-util = "0.1.0"
|
2024-03-25 02:20:36 +08:00
|
|
|
base64 = "0.22"
|
2024-06-28 18:12:51 +08:00
|
|
|
dashmap = "6.0"
|
2023-05-17 02:25:38 +08:00
|
|
|
ahash = { version = "0.8" }
|
2024-03-25 02:20:36 +08:00
|
|
|
serial_test = "3.0.0"
|
2023-05-17 02:25:38 +08:00
|
|
|
num_cpus = "1.15.0"
|
|
|
|
async-trait = "0.1.68"
|
2023-05-21 02:50:24 +08:00
|
|
|
chrono = "0.4"
|
2024-06-21 01:11:15 +08:00
|
|
|
ring = { version = "0.17" }
|
2023-06-28 00:28:07 +08:00
|
|
|
|
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
|
|
|
jemallocator = "0.5.0"
|