# 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-bindform" version = "0.1.0" authors = ["eternal-flame-AD"] description = "Bind XML, JSON, URL-encoded or query-string form data in Axum." readme = "README.md" keywords = [ "Axum", "JSON", "XML", "URL-encoded", "form", ] categories = ["network-programming"] license = "Apache-2.0" repository = "https://github.com/eternal-flame-AD/axum-bindform" [dependencies.axum] version = "0.6.19" [dependencies.mime] version = "0.3.17" [dependencies.reqwest] version = "0.11.18" features = ["json"] optional = true [dependencies.serde] version = "1.0.175" [dependencies.serde-xml-rs] version = "0.6.0" optional = true [dependencies.serde_json] version = "1.0.103" optional = true [dependencies.serde_urlencoded] version = "0.7.1" optional = true [dependencies.thiserror] version = "1.0.44" [dependencies.tokio] version = "1.29.1" features = [ "rt", "rt-multi-thread", "macros", ] optional = true [features] default = [ "json", "urlencoded", ] full = [ "json", "xml", "urlencoded", ] json = ["dep:serde_json"] testing = [ "full", "dep:tokio", "dep:reqwest", "serde/derive", ] urlencoded = ["dep:serde_urlencoded"] xml = ["dep:serde-xml-rs"]