mirror of
https://github.com/stalwartlabs/smtp-server.git
synced 2024-11-24 06:19:41 +00:00
79 lines
1.5 KiB
TOML
79 lines
1.5 KiB
TOML
[package]
|
|
name = "stalwart-smtp"
|
|
description = "Stalwart SMTP Server"
|
|
authors = [ "Stalwart Labs Ltd. <hello@stalw.art>"]
|
|
repository = "https://github.com/stalwartlabs/smtp-server"
|
|
homepage = "https://stalw.art/smtp"
|
|
keywords = ["smtp", "email", "mail", "server"]
|
|
categories = ["email"]
|
|
license = "AGPL-3.0-only"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
resolver = "2"
|
|
|
|
[[bin]]
|
|
name = "stalwart-smtp"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
smtp = { path = "main/crates/smtp" }
|
|
directory = { path = "main/crates/directory" }
|
|
utils = { path = "main/crates/utils" }
|
|
tokio = { version = "1.23", features = ["full"] }
|
|
tracing = "0.1"
|
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
|
jemallocator = "0.5.0"
|
|
|
|
[workspace]
|
|
members = [
|
|
"main/crates/smtp",
|
|
"main/crates/directory",
|
|
"main/crates/utils",
|
|
"main/crates/install",
|
|
"main/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
|
|
|