# 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-media" version = "0.2.0" authors = ["Marek Vospěl "] description = "A simple way to use multiple media types with axum" readme = "README.md" keywords = [ "axum", "http", "serde", "web", ] license = "MIT OR Apache-2.0" repository = "https://github.com/marekvospel/axum-media" [[test]] name = "urlencoded" path = "tests/urlencoded.rs" required-features = ["urlencoded"] [dependencies.axum] version = "0.6.20" [dependencies.bytes] version = "1.5.0" [dependencies.mime] version = "0.3.17" [dependencies.serde] version = "1.0.192" [dependencies.serde_json] version = "1.0.108" [dependencies.serde_path_to_error] version = "0.1.14" [dependencies.serde_urlencoded] version = "0.7.1" optional = true [dependencies.thiserror] version = "1.0.50" [dependencies.tracing] version = "0.1.40" [dev-dependencies.axum-test-helper] version = "0.3.0" [dev-dependencies.serde] version = "1.0.192" features = ["derive"] [dev-dependencies.tokio] version = "1.34.0" features = [ "macros", "rt-multi-thread", ] [features] default = [] urlencoded = ["dep:serde_urlencoded"]