# 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-content-negotiation" version = "0.1.1" authors = ["Bruno Tavares "] description = "Axum middleware to use Accept and Content-Type headers to serialize with different formats" homepage = "https://github.com/bltavares/axum-content-negotiation" readme = "README.md" keywords = [ "axum-middleware", "middleware", "content-negotiation", ] license = "MIT OR Apache-2.0" repository = "https://github.com/bltavares/axum-content-negotiation" [package.metadata.bin.bacon] locked = true version = "2.14.1" [package.metadata.bin.cargo-binstall] version = "1.6.1" [package.metadata.bin.cargo-nextest] locked = true version = "0.9.67" [package.metadata.bin.changelog] version = "0.3.4" [dependencies.axum] version = "0.7.4" [dependencies.cbor4ii] version = "0.3.2" features = ["serde1"] optional = true [dependencies.erased-serde] version = "0.4.2" [dependencies.serde] version = "1.0.195" [dependencies.serde_json] version = "1.0.111" optional = true [dependencies.simd-json] version = "0.13.8" optional = true [dependencies.tower] version = "0.4.13" [dependencies.tracing] version = "0.1.40" [dev-dependencies.axum] version = "0.7.4" features = ["macros"] [dev-dependencies.http-body-util] version = "0.1.0" [dev-dependencies.serde] version = "1.0.195" features = ["derive"] [dev-dependencies.tokio] version = "1.35.1" features = ["full"] [features] cbor = ["cbor4ii"] default = [ "cbor", "simd-json", "default-json", ] default-cbor = [] default-json = [] json = ["serde_json"] simd-json = [ "dep:simd-json", "serde_json", ]