[package] name = "learn_axum" version = "0.2.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.35.1", features = ["full"] } hyper = { version = "1.1.0", 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 config = "0.14" tracing = { version = "0.1", features = ["log"] } tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] } tracing-bunyan-formatter = "0.3" tracing-log = "0.2" # lazy-regex = "3" # async-trait = "0.1" # strum_macros = "0.25" uuid = { version = "1", features = ["v4", "fast-rng"] } chrono = { version = "0.4", default-features = false, features = ["clock"] } [dependencies.sqlx] version = "0.7" default-features = false features = [ "runtime-tokio-rustls", "macros", "postgres", "uuid", "chrono", "migrate", ] [dev-dependencies] reqwest = "0.11" once_cell = "1"