# 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 = "anyhow-http" version = "0.4.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Customizable HTTP errors built on anyhow" documentation = "https://docs.rs/anyhow-http" readme = "README.md" keywords = [ "error", "http", ] license = "MIT" repository = "https://github.com/heat1q/anyhow-http" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "anyhow_http" path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.anyhow-http-derive] version = "0.4.0" optional = true [dependencies.axum] version = "0.7" optional = true default-features = false [dependencies.bytes] version = "1.7" [dependencies.http] version = "1.0" [dependencies.mime] version = "0.3" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dev-dependencies.axum] version = "0.7" features = ["default"] [dev-dependencies.hyper] version = "1.0" [dev-dependencies.tokio] version = "1.21" features = ["full"] [features] axum = ["dep:axum"] default = [] derive = ["dep:anyhow-http-derive"] json = []