-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
74 lines (69 loc) · 1.64 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
[package]
name = "orderserv"
version = "0.1.0"
edition = "2021"
[lib]
name = "lib"
path = "src/lib/mod.rs"
[[bin]]
name = "orderserv-bin"
path = "src/main.rs"
[dependencies]
axum = { version = "0.5.13", features = ["headers"] }
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
lazy_static = "1.4.0"
sea-orm = { version = "^0", features = [
"sqlx-mysql",
"runtime-tokio-rustls",
"macros",
"with-chrono",
"mock",
] }
sea_orm_casbin_adapter = { version = "0.3", features = [
"mysql",
"runtime-tokio-rustls",
] }
async-trait = "0.1.57"
tracing = "0.1.36"
tracing-subscriber = "0.3.15"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0.32"
bcrypt = "0.13.0"
jsonwebtoken = "8.1.1"
validator = { version = "0.16", features = ["derive"] }
chrono = "0.4.21"
dotenv = "0.15.0"
config = "0.13.2"
migration = { path = "./migration" }
tower-http = { version = "0.3.4", features = ["trace"] }
axum-casbin-auth = "1.0.0"
tower = "0.4.13"
uuid = "1.1.2"
serde_derive = "1.0.144"
mockall = "0.11.2"
borsh = "0.9.3"
borsh-derive = "0.9.3"
lapin = "2.1.1"
tokio-executor-trait = "2.1.0"
tokio-reactor-trait = "1.1.0"
axum-extra = { version = "0.3.7", features = ["spa"] }
[dependencies.sea-orm-migration]
version = "^0.9.0"
features = [
"runtime-tokio-rustls", # `ASYNC_RUNTIME` featrure
"sqlx-mysql", # `DATABASE_DRIVER` feature
]
[dev-dependencies]
sea-orm = { version = "^0", features = [
"sqlx-sqlite",
"runtime-tokio-rustls",
"macros",
"with-chrono",
"mock",
] }
sea-orm-migration = { version = "^0.9.0", features = [
"runtime-tokio-rustls",
"sqlx-sqlite",
] }