-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (32 loc) · 1.06 KB
/
Cargo.toml
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
[package]
name = "moonstone-server"
version = "0.3.0-alpha.1"
description = "基于 Oblivion 通讯协议的端到端加密链路即时通讯服务端"
authors = ["苏向夜 <[email protected]>"]
license = "AGPLv3"
repository = "https://github.com/noctisynth/MoonstoneServer"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
oblivion = { version = "2.2.0" }
moonstone_db = { path = "./db" }
tokio = { version = "1", features = ["full"] }
futures = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
argon2 = { version = "0.5" }
rand = "0.8"
thiserror = "1"
regex = "1"
lazy_static = "1"
chrono = "0.4"
anyhow = "1.0"
once_cell = "1.19.0"
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = 3 # Optimize for performance
strip = true # Remove debug symbols