2023-07-04 00:48:43 +08:00
|
|
|
[package]
|
|
|
|
name = "mail-server"
|
|
|
|
description = "Stalwart Mail Server"
|
|
|
|
authors = [ "Stalwart Labs Ltd. <hello@stalw.art>"]
|
|
|
|
repository = "https://github.com/stalwartlabs/jmap-server"
|
|
|
|
homepage = "https://stalw.art"
|
|
|
|
keywords = ["imap", "jmap", "smtp", "email", "mail", "server"]
|
|
|
|
categories = ["email"]
|
|
|
|
license = "AGPL-3.0-only"
|
2024-05-23 22:32:47 +08:00
|
|
|
version = "0.8.1"
|
2023-07-04 00:48:43 +08:00
|
|
|
edition = "2021"
|
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "stalwart-mail"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
store = { path = "../store" }
|
|
|
|
jmap = { path = "../jmap" }
|
|
|
|
jmap_proto = { path = "../jmap-proto" }
|
2024-06-21 01:11:15 +08:00
|
|
|
smtp = { path = "../smtp" }
|
2023-07-04 00:48:43 +08:00
|
|
|
imap = { path = "../imap" }
|
2024-05-22 17:28:35 +08:00
|
|
|
pop3 = { path = "../pop3" }
|
2023-07-04 00:48:43 +08:00
|
|
|
managesieve = { path = "../managesieve" }
|
2024-03-25 02:20:36 +08:00
|
|
|
common = { path = "../common" }
|
2023-07-04 00:48:43 +08:00
|
|
|
directory = { path = "../directory" }
|
|
|
|
utils = { path = "../utils" }
|
|
|
|
tokio = { version = "1.23", features = ["full"] }
|
|
|
|
tracing = "0.1"
|
|
|
|
|
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
|
|
|
jemallocator = "0.5.0"
|
|
|
|
|
|
|
|
[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-07-04 00:48:43 +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"]
|