-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (41 loc) · 1.33 KB
/
Cargo.toml
File metadata and controls
49 lines (41 loc) · 1.33 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
[package]
name = "eran_codes"
version = "0.1.1"
edition = "2024"
default-run = "eran_codes"
[workspace]
members = ["crates/domain", "crates/infra", "crates/app", "crates/http", "crates/utils"]
[dependencies]
infra = { path = "crates/infra" }
domain = { path = "crates/domain" }
app = { path = "crates/app" }
http = { path = "crates/http" }
utils = { path = "crates/utils" }
nutype = { workspace = true }
tokio = { version = "1", features = [
"macros",
"rt-multi-thread",
"time",
"fs",
] }
axum = { version = "0.8.8" }
tower-sessions-sqlx-store = { version = "0.15.0", features = ["postgres"] }
tower-sessions-compat = { package = "tower-sessions", version = "0.14.0" }
tower-cookies = "0.11.0"
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json"] }
tracing = "0.1.44"
snafu = "0.9.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
reqwest = { version = "0.13.2", features = ["json"] }
url = "2.5.8"
[workspace.dependencies]
nutype = "0.6.2"
moddef = "0.3.0"
strum = "0.28.0"
strum_macros = "0.28.0"
[workspace.metadata.scripts]
crs = "cargo run-script"
migrate = "cargo with-db sqlx migrate run --source crates/infra/migrations"
prepare = "cargo with-db sqlx prepare --workspace -- --all-targets"
w = "watchexec --restart --exts rs,html,css,js -- cargo run --features http/live-reload"