chore: first working version with integration test
This commit is contained in:
parent
f869b0f067
commit
122c38a0da
19 changed files with 266 additions and 1214 deletions
35
Cargo.toml
35
Cargo.toml
|
|
@ -3,24 +3,31 @@ name = "learn_axum"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
path = "src/main.rs"
|
||||
name = "learn_axum"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.32.0", features = ["full"] }
|
||||
# Serde / json
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
serde_with = "3"
|
||||
# Axum
|
||||
hyper = { version = "0.14.27", features = ["full"] }
|
||||
# # Serde / json
|
||||
# serde = { version = "1.0", features = ["derive"] }
|
||||
# serde_json = "1"
|
||||
# serde_with = "3"
|
||||
# # Axum
|
||||
axum = { version = "0.6.20" }
|
||||
tower-http = { version = "0.4.4", features = ["fs"] }
|
||||
tower-cookies = "0.9"
|
||||
# Others
|
||||
lazy-regex = "3"
|
||||
async-trait = "0.1"
|
||||
strum_macros = "0.25"
|
||||
uuid = { version = "1", features = ["v4", "fast-rng"] }
|
||||
# tower-http = { version = "0.4.4", features = ["fs"] }
|
||||
# tower-cookies = "0.9"
|
||||
# # Others
|
||||
# lazy-regex = "3"
|
||||
# async-trait = "0.1"
|
||||
# strum_macros = "0.25"
|
||||
# uuid = { version = "1", features = ["v4", "fast-rng"] }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = "1"
|
||||
httpc-test = "0.1.5"
|
||||
reqwest = "0.11"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue