forked from lingdu1234/axum_admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
98 lines (86 loc) · 1.55 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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[workspace]
members = [
"bin",
"api",
"service",
"middleware-fn",
"utils",
"configs",
"db",
"migration",
]
resolver = "2"
[workspace.package]
authors = ["lingdu <[email protected]>"]
edition = "2021"
homepage = "https://314.iu1314.top"
license = "Apache-2.0"
publish = false
repository = ""
version = "0.1.0"
default-run = "axum-admin"
[workspace.dependencies]
# axum
axum = "0"
axum-extra = "0"
# axum-server = "0"
hyper = "1"
hyper-util = "0"
http-body-util = "0"
rustls-pemfile = "1"
mime = "0"
tower = "0"
tower-service = "0"
tower-http = "0"
#
anyhow = "1"
bytes = "1"
futures = "0.3"
async-stream = "0.3"
chrono = "0"
headers = "0"
jsonwebtoken = "9"
once_cell = "1"
# 用于生成可排序的唯一id
scru128 = "3"
serde = "1"
serde_json = "1"
# tokio
tokio = "1"
tokio-stream = '0'
# 版本较老,待更新,新版本依赖得rustls有相应得更新,编译较麻烦
tokio-rustls = "0.24"
# "tracing"
toml = "0"
# tracing
time = "0"
tracing = "0"
tracing-appender = "0"
# tracing-log = "0.1"
tracing-subscriber = "0"
# 计划任务
delay_timer = "0"
reqwest = "0"
user-agent-parser = "0.3"
# 随机数
md5 = "0"
rand = "0"
# 系统信息, 新版本接口有变化编译不过
sysinfo = "0.29"
# 验证码
captcha_rust = "0"
# skyTable 可选依赖
skytable = "0"
# swagger openApi
# utoipa = "2"
# utoipa-swagger-ui = "2"
futures-util = "0"
# sea-orm
sea-orm = "0"
[profile.release]
codegen-units = 1
debug = false
lto = true
opt-level = "z" # Optimize for size.
panic = 'abort'
# strip = "symbols" # none(false) debuginfo symbols(true).