-
Notifications
You must be signed in to change notification settings - Fork 32
/
Cargo.toml
65 lines (55 loc) · 1.68 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
[package]
name = "abs_admin"
version = "0.1.0"
authors = ["zhuxiujia <[email protected]>"]
edition = "2021"
[features]
#add this to enable storage_s3 or cache_redis
default = []
#oss/s3
storage_s3 = ["aws-config","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.5" }
rbatis = { version = "4.5", features = [] }
rbdc-sqlite = { version = "4.5" }
#rbdc-mysql = { version = "4.5" }
#rbdc-pg = { version = "4.5" }
#rbdc-mssql = { version = "4.5" }
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.7.4", features = ["macros"] }
tower-http = { version = "0.6.1", features = ["fs", "cors"] }
#redis
redis = { version = "0.27.5", features = ["tokio-comp"] ,optional = true}
#jwt
jsonwebtoken = "9.2"
md5 = "0.7"
#captcha
captcha = "0.0.9"
#http client,use rust-tls replace to native tls
reqwest = { version = "0.12", features = ["json"] }
#image code
image = "0.25.0"
futures-util = "0.3.21"
parking_lot = "0.12.1"
sqlparser = "0.44.0"
json5 = "0.4"
aws-config = { version = "1.5.9", features = ["behavior-version-latest"], optional = true }
aws-sdk-s3 = { version = "1.58.0", features = ["rt-tokio"], optional = true }
[build-dependencies]
json5 = "0.4"
serde = { version = "1.0", features = ["derive"] }
walkdir = "2.5.0"
[profile.release]
lto = true
opt-level = 3
codegen-units = 1