-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
59 lines (52 loc) · 1.26 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
[package]
name = "api-server"
version = "0.1.0"
edition = "2021"
[profile.dev]
split-debuginfo = "unpacked"
[profile.release]
split-debuginfo = "unpacked"
[workspace]
members = [".", "migration", "entity"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = { version = "0.6.10", features = ["multipart"] }
clap = { version = "3", features = ["derive", "env"] }
tokio = { version = "1", features = ["full"] }
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.4", features = [
"cors",
"trace",
"compression-br",
"auth",
] }
bytes = "1"
uuid = { version = "1", features = ["serde", "v4"] }
serde = { version = "1.0", features = ["derive"] }
anyhow = "1.0"
thiserror = "1.0"
tracing = "0.1"
tracing-subscriber = "0.3"
chrono = "0.4"
jsonwebtoken = "8"
entity = { path = "entity" }
migration = { path = "migration" }
futures = "0.3"
reqwest = { version = "0.11", default-features = false, features = [
"rustls-tls",
] }
[dependencies.sea-orm]
version = "0.11.1" # sea-orm version
features = [
"debug-print",
"sqlx-sqlite",
"runtime-tokio-rustls",
# "sqlx-mysql",
# "sqlx-sqlite",
]
[[bin]]
name = "server"
doc = false
[[bin]]
name = "show_users"
doc = false