# 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-codec" version = "0.0.14" authors = ["Matthew Polak "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A multi-codec extractor and response writer for Axum" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/matteopolak/axum-codec" [package.metadata.docs.rs] all-features = true [lib] name = "axum_codec" path = "src/lib.rs" [dependencies.aide] version = "0.13" features = ["axum"] optional = true default-features = false [dependencies.axum] version = "0.7" default-features = false [dependencies.axum-codec-macros] version = "0.0.10" default-features = false [dependencies.bincode] version = "2.0.0-rc.3" features = ["std"] optional = true default-features = false [dependencies.bitcode] version = "0.6.3" features = ["std"] optional = true default-features = false [dependencies.ciborium] version = "0.2" optional = true [dependencies.mime] version = "0.3" [dependencies.rmp-serde] version = "1" optional = true [dependencies.schemars] version = "0.8" optional = true default-features = false [dependencies.serde] version = "1" optional = true default-features = false [dependencies.serde_json] version = "1" optional = true [dependencies.serde_yaml] version = "0.9" optional = true [dependencies.thiserror] version = "1" [dependencies.toml] version = "0.8" optional = true [dependencies.validator] version = "0.18" optional = true [dev-dependencies.axum] version = "0.7" [dev-dependencies.bitcode] version = "0.6" [dev-dependencies.serde] version = "1" features = [ "derive", "rc", ] [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [features] aide = [ "dep:aide", "dep:schemars", "axum-codec-macros/aide", "axum/json", "axum/form", "axum/original-uri", "axum/query", "axum/tokio", "axum/matched-path", ] bincode = [ "dep:bincode", "axum-codec-macros/bincode", ] bitcode = [ "dep:bitcode", "axum-codec-macros/bitcode", ] cbor = [ "dep:ciborium", "serde", ] default = [ "json", "macros", "pretty-errors", ] full-codecs = [ "bincode", "bitcode", "cbor", "json", "msgpack", "toml", "yaml", ] json = [ "dep:serde_json", "serde", ] macros = [ "schemars?/derive", "bincode?/derive", "bitcode?/derive", "serde?/derive", "validator?/derive", "axum-codec-macros/debug", ] msgpack = [ "dep:rmp-serde", "serde", ] pretty-errors = ["macros"] serde = [ "dep:serde", "axum-codec-macros/serde", ] toml = [ "dep:toml", "serde", ] validator = [ "dep:validator", "axum-codec-macros/validator", ] yaml = [ "dep:serde_yaml", "serde", ]