33 lines
747 B
TOML
33 lines
747 B
TOML
[package]
|
|
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"] }
|
|
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.7" }
|
|
# tower-http = { version = "0.5", features = ["fs"] }
|
|
# tower-cookies = "0.10"
|
|
# # Others
|
|
# lazy-regex = "3"
|
|
# async-trait = "0.1"
|
|
# strum_macros = "0.25"
|
|
# uuid = { version = "1", features = ["v4", "fast-rng"] }
|
|
|
|
[dev-dependencies]
|
|
reqwest = "0.11"
|