2023-07-01 20:34:21 +02:00
|
|
|
[package]
|
|
|
|
|
name = "learn_axum"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
2023-11-12 14:11:13 +01:00
|
|
|
[lib]
|
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
name = "learn_axum"
|
|
|
|
|
|
2023-07-01 20:34:21 +02:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2023-12-23 14:12:25 +01:00
|
|
|
tokio = { version = "1.35.1", features = ["full"] }
|
2023-12-23 14:10:35 +01:00
|
|
|
hyper = { version = "1.1.0", features = ["full"] }
|
2023-11-25 08:48:09 +01:00
|
|
|
# Serde / json
|
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
|
serde_json = "1"
|
2023-11-12 14:11:13 +01:00
|
|
|
# serde_with = "3"
|
2023-11-25 08:48:09 +01:00
|
|
|
# Axum
|
2023-12-15 23:13:00 +01:00
|
|
|
axum = { version = "0.7" }
|
|
|
|
|
# tower-http = { version = "0.5", features = ["fs"] }
|
|
|
|
|
# tower-cookies = "0.10"
|
2023-11-12 14:11:13 +01:00
|
|
|
# # Others
|
|
|
|
|
# lazy-regex = "3"
|
|
|
|
|
# async-trait = "0.1"
|
|
|
|
|
# strum_macros = "0.25"
|
|
|
|
|
# uuid = { version = "1", features = ["v4", "fast-rng"] }
|
2023-07-01 20:34:21 +02:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-11-12 14:11:13 +01:00
|
|
|
reqwest = "0.11"
|