forked from rust10x/rust-web-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (44 loc) · 1.27 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
[package]
name = "rust-web-app"
version = "0.1.2"
edition = "2021"
rust-version = "1.70"
authors = ["Jeremy Chone <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Rust10x rust-web-app production blueprint."
homepage="https://rust10x.com/web-app"
repository = "https://github.com/rust10x/rust-web-app"
[dependencies]
# -- Async
tokio = { version = "1", features = ["full"] }
async-trait = "0.1"
# -- Json
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_with = "3"
# -- Web
axum = "0.6"
tower-http = { version = "0.4", features = ["fs"] }
tower-cookies = "0.9"
# -- Data
sqlx = { version = "0.7", features = [ "runtime-tokio", "postgres", "uuid" ] }
sea-query = "0.30"
sea-query-binder = { version = "0.5", features = ["sqlx-postgres", "with-uuid" ] }
modql = {version = "0.3", features = ["with-sea-query"]}
# -- Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# -- Hashing (pwd scheme-01 &token)
hmac = "0.12"
sha2 = "0.10"
# -- Others
base64 = "0.21"
uuid = {version = "1", features = ["v4","fast-rng",]}
time = "0.3"
strum_macros = "0.25"
derive_more = {version = "1.0.0-beta", features = ["from"] }
[dev-dependencies]
anyhow = "1"
httpc-test = "0.1"
serial_test = "2"
rand = "0.8" # For examples/gen-key