mail-server/crates/main/Cargo.toml

44 lines
1.2 KiB
TOML
Raw Normal View History

2023-07-03 16:48:43 +00: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"
2023-11-01 11:08:24 +00:00
version = "0.4.2"
2023-07-03 16:48:43 +00: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" }
smtp = { path = "../smtp", features = ["local_delivery"] }
imap = { path = "../imap" }
managesieve = { path = "../managesieve" }
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]
2023-12-12 17:45:52 +00:00
#default = ["sqlite", "foundationdb", "postgres", "mysql", "rocks", "elastic", "s3", "redis"]
2023-12-16 20:24:34 +00:00
default = ["sqlite", "postgres", "mysql", "redis", "rocks", "foundationdb"]
2023-07-03 16:48:43 +00:00
sqlite = ["store/sqlite"]
foundationdb = ["store/foundation"]
2023-12-02 14:52:05 +00:00
postgres = ["store/postgres"]
mysql = ["store/mysql"]
rocks = ["store/rocks"]
2023-12-03 18:40:16 +00:00
elastic = ["store/elastic"]
s3 = ["store/s3"]
2023-12-12 17:45:52 +00:00
redis = ["store/redis"]