-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
62 lines (52 loc) · 1.38 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
[workspace]
[package]
name = "admin-panel"
version = "0.1.0"
edition = "2021"
publish = false
default-run = "admin_panel-cli"
rust-version = "1.82.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
test-postgres = []
[workspace.dependencies]
loco-rs = { version = "0.13.2", default-features = false }
[dependencies]
loco-rs = { workspace = true, features = ["cli"] }
serde = { version = "1", features = ["derive"] }
serde_yaml = { version = "0.9.34" }
serde_json = "1"
tokio = { version = "1.33.0", default-features = false, features = [
"rt-multi-thread",
] }
async-trait = "0.1.74"
axum = "0.7.5"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] }
# view engine i18n
unic-langid = "0.9.4"
# /view engine
chrono = { version = "0.4.38", features = ["serde"] }
sqlx = { version = "0.8.2", default-features = false, features = [
"macros",
"json",
"postgres",
"sqlite",
"runtime-tokio-rustls",
"chrono",
] }
[[bin]]
name = "admin_panel-cli"
path = "src/bin/main.rs"
required-features = []
[[bin]]
name = "tool"
path = "src/bin/tool.rs"
required-features = []
[dev-dependencies]
loco-rs = { workspace = true, features = ["testing"] }
serial_test = "3.1.1"
rstest = "0.23.0"
insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] }
tree-fs = "0.2.1"