# API Response Library
This library provides a consistent structure for API responses, including success and error handling.
[](https://github.com/andeya/api-response/commits/main)
[](https://crates.io/crates/api-response)
[](https://docs.rs/api-response)
## Features
- Structured and unified API response format.
- Includes meta for both success and error responses.
- Supports flexible serialization formats like JSON and Protobuf.
- Integration with the Salvo framework for HTTP handling (see examples).
## Usage
Run the following Cargo command in your project directory:
```sh
cargo add api-response
```
Or add the following line to your Cargo.toml:
```toml
api-response = "0.1"
```