mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2024-11-10 09:32:19 +08:00
61 lines
993 B
TOML
61 lines
993 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/main",
|
|
"crates/jmap",
|
|
"crates/jmap-proto",
|
|
"crates/imap",
|
|
"crates/imap-proto",
|
|
"crates/smtp",
|
|
"crates/managesieve",
|
|
"crates/nlp",
|
|
"crates/store",
|
|
"crates/directory",
|
|
"crates/utils",
|
|
"crates/common",
|
|
"crates/cli",
|
|
"tests",
|
|
]
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = 1
|
|
codegen-units = 4
|
|
lto = false
|
|
incremental = true
|
|
panic = 'unwind'
|
|
debug-assertions = true
|
|
overflow-checks = false
|
|
rpath = false
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
codegen-units = 1
|
|
lto = true
|
|
incremental = false
|
|
panic = 'unwind'
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
rpath = false
|
|
#strip = true
|
|
|
|
[profile.test]
|
|
opt-level = 0
|
|
debug = 1
|
|
#codegen-units = 16
|
|
lto = false
|
|
incremental = true
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
rpath = false
|
|
|
|
[profile.bench]
|
|
opt-level = 3
|
|
debug = false
|
|
codegen-units = 1
|
|
lto = true
|
|
incremental = false
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
rpath = false
|