# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "oxi-axum-helpers" version = "0.0.35" authors = ["Mo Bitar "] build = false include = [ "/src/", "LICENSE.txt", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Highly opinionated Axum helpers" readme = "README.md" keywords = ["Axum"] license = "AGPL-3.0" repository = "https://codeberg.org/mo8it/oxi-axum-helpers" [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu"] [lib] name = "oxi_axum_helpers" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.86" optional = true [dependencies.axum] version = "0.7.5" optional = true default-features = false [dependencies.figment] version = "0.10.19" features = ["env"] optional = true [dependencies.serde] version = "1.0.209" features = ["derive"] optional = true [dependencies.sqlx] version = "0.8.1" optional = true default-features = false [dependencies.tokio] version = "1.39.3" features = [ "signal", "macros", ] default-features = false [dependencies.tracing] version = "0.1.40" optional = true [dependencies.tracing-subscriber] version = "0.3.18" features = [ "std", "fmt", ] optional = true default-features = false [features] init = [ "figment/toml", "dep:tracing-subscriber", "dep:anyhow", "dep:serde", ] postgres = [ "sqlx/postgres", "dep:tracing", "dep:anyhow", "dep:serde", ] static_router = ["dep:axum"]