summaryrefslogtreecommitdiff
path: root/crates/main/Cargo.toml
blob: 7e38d0b28bdc357619a3e195cbf6919184a24590 (plain)
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
[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"
version = "0.3.5"
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]
default = ["sqlite"]
#default = ["foundationdb"]
sqlite = ["store/sqlite"]
foundationdb = ["store/foundation"]