# 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 = "axum-starter" version = "0.11.0" authors = ["FrozenString"] description = "A help crate for simplify the code of starting a axum server" homepage = "https://github.com/Goodjooy/axum-server-starter" documentation = "https://docs.rs/axum-starter" readme = "./Readme.md" keywords = [ "web", "http", "axum", ] license = "MIT" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "test_starter" required-features = [ "test-utils", "logger", ] [dependencies.axum] version = "0.7" [dependencies.axum-starter-macro] version = "0.10.0" [dependencies.bytes] version = "1.6.0" optional = true [dependencies.futures] version = "0.3" [dependencies.http] version = "1.1.0" [dependencies.http-body] version = "1.0.0" [dependencies.http-body-util] version = "0.1.1" optional = true [dependencies.hyper] version = "1" features = ["server"] [dependencies.hyper-util] version = "0.1.3" features = ["server"] [dependencies.serde] version = "1.0.203" optional = true [dependencies.serde_json] version = "1.0.117" optional = true [dependencies.tap] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.21.2" features = ["io-util"] [dependencies.tower] version = "0.4" [dependencies.tracing] version = "0.1" features = ["log"] optional = true [dev-dependencies.axum] version = "0.7" features = ["macros"] [dev-dependencies.log] version = "0.4" [dev-dependencies.simple_logger] version = "4.0.0" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tower-http] version = "0.5" features = [ "catch-panic", "trace", "metrics", ] [features] bytes = ["dep:bytes"] default = [] http-body-util = ["dep:http-body-util"] logger = ["dep:tracing"] serde = ["dep:serde"] serde_json = ["dep:serde_json"] test-utils = [ "http-body-util", "serde", "serde_json", "bytes", ]