# 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 = "resp-result" version = "0.6.0" authors = ["FrozenString"] description = "Help Struct For Axum or Actix Response" homepage = "https://github.com/Goodjooy/resp-result" documentation = "https://docs.rs/resp-result" license = "MIT" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "axum" required-features = [ "axum-full", "tracing", ] [[example]] name = "actix" required-features = [ "actix-full", "nightly_try_v2", ] [dependencies.actix-web] version = "^4" optional = true [dependencies.axum] version = "0.6" optional = true [dependencies.futures] version = "0.3" [dependencies.http] version = "0.2" [dependencies.mime] version = "0.3" [dependencies.once_cell] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1.0.37" [dependencies.trace] version = "0.1.37" optional = true package = "tracing" [dependencies.tracing-unwrap] version = "0.10.0" features = ["log-location"] optional = true [dev-dependencies.serde_json] version = "1" [dev-dependencies.simple-log] version = "1.6.0" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tower] version = "0.4.13" features = ["tracing"] [dev-dependencies.tower-http] version = "0.3.4" features = ["trace"] [dev-dependencies.tracing-subscriber] version = "0.3.16" features = [ "fmt", "registry", "env-filter", ] [features] actix-full = [ "extra-error", "for-actix", ] axum-full = [ "extra-error", "for-axum", ] default = [] extra-error = [] for-actix = ["dep:actix-web"] for-axum = ["dep:axum"] log = [ "tracing", "trace?/log", ] nightly_try_v2 = [] tracing = [ "dep:trace", "dep:tracing-unwrap", ]