-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (54 loc) · 1.65 KB
/
Cargo.toml
File metadata and controls
63 lines (54 loc) · 1.65 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
63
[package]
name = "abs_admin"
version = "0.1.0"
authors = ["zhuxiujia <zhuxiujia@qq.com>"]
edition = "2024"
[features]
#add this to enable storage_s3 or cache_redis
default = []
#oss/s3
storage_s3 = ["aws-sdk-s3"]
#redis
cache_redis = ["redis"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rbs = { version = "4" }
rbatis = { version = "4.7", features = [] }
rbdc-sqlite = { version = "4.7" }
#rbdc-mysql = { version = "4.7" }
#rbdc-pg = { version = "4.7" }
#rbdc-mssql = { version = "4.7" }
tokio = { version = "1", features = ["macros"] }
#serde and json
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
#log
log = "0.4"
#fast_log enable features = ["lz4", "zip", "gzip"], and edit src/config/log.rs fn choose_packer(),edit application.json5 add log_pack_compress: "zip"
fast_log = { version = "1.7" }
axum = { version = "0.8.7", features = ["macros", "multipart"] }
tower-http = { version = "0.6.8", features = ["fs","cors","limit"] }
#redis
redis = { version = "1.0.1", features = ["tokio-comp"] ,optional = true}
#jwt
jsonwebtoken = { version = "10.2", features = ["rust_crypto"] }
md5 = "0.8"
#captcha
captcha = "1.0.0"
#http client,use rust-tls replace to native tls
reqwest = { version = "0.12", features = ["json"] }
#image code
image = "0.25.9"
futures-util = "0.3.31"
parking_lot = "0.12.5"
json5 = "1.3"
aws-sdk-s3 = { version = "1.118.0", features = ["rt-tokio","rustls"], optional = true }
async-trait = "0.1.89"
[build-dependencies]
json5 = "1.3"
serde = { version = "1.0", features = ["derive"] }
walkdir = "2.5.0"
[profile.release]
lto = true
opt-level = 3
codegen-units = 1