-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (59 loc) · 1.45 KB
/
Cargo.toml
File metadata and controls
62 lines (59 loc) · 1.45 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "floatctf"
version = "0.3.1"
edition = "2024"
[dependencies]
fcmc = { path = "./fcmc" }
actix-cors = "0.7.1"
actix-multipart = "0.7.2"
actix-web = "4"
actix-ws = "0.3"
anyhow = "1"
argon2 = "0.5"
async-trait = "0.1.89"
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-s3 = "1.129.0"
base64 = "0.22.1"
bollard = "0.19.1"
chrono = { version = "0.4", features = ["serde"] }
cron = "0.12"
dotenvy = "0.15"
futures-util = "0.3.31"
jsonwebtoken = "9.3.1"
lettre = { version = "0.11.19", default-features = false, features = [
"tokio1-rustls-tls",
"smtp-transport",
"builder"
] }
minijinja = "2.12.0"
pnet = "0.35.0"
sea-orm = { version = "1.1.0", features = [
"macros",
"runtime-tokio-rustls",
"sqlx-postgres",
"with-chrono",
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sysinfo = "0.37.0"
tempfile = "3.20.0"
thiserror = "2"
toml = "0.9.5"
# logging
tracing = "0.1" # 核心 tracing
tracing-actix-web = "0.7.19" # Actix Web 的 TracingLogger middleware
tracing-appender = "0.2" # 支持日志写入文件
tracing-subscriber = { version = "0.3", features = [
"chrono",
"env-filter",
"fmt",
] }
uuid = { version = "1.0", features = ["serde", "v4"] }
zip = "4.3.0"
tokio = { version = "1", features = ["fs"] }
[profile.dev]
opt-level = 0 # 0: 不优化,编译最快(默认)
debug = true
# 1: 基础优化,平衡速度
# 2: 显著优化
# 3: 最高级别优化(类似 Release)