api-response 0.6.0

A consistent structure for API responses, including success and error handling.
Documentation
[package]
name = "api-response"
version = "0.6.0"
edition = "2021"
license = "MIT"
description = "A consistent structure for API responses, including success and error handling."
repository = "https://github.com/andeya/api-response"
documentation = "https://docs.rs/api-response"
readme = "README.md"
homepage = "https://casdoor.org"
keywords = ["api", "http", "rpc", "response"]
authors = ["Andeya Lee <andeyalee@outlook.com>"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde = { version = "1", features = ["derive"] }
salvo = { version = "0.73", default-features = false, features = [
    "oapi",
], optional = true }

[dev-dependencies]
serde_json = "1.0"
tokio = { version = "1.41" }
salvo = { version = "0.73", features = ["oapi"] }

[features]
# default = ["salvo"]
salvo = ["dep:salvo"]