# API Tools
[](https://github.com/fabienbellanger/api-tools/actions/workflows/CI.yml)
[](https://crates.io/crates/api-tools)
[](https://docs.rs/api-tools)
> Toolkit for API in Rust
## Installation
For standard functionalities, no additional dependencies are required:
```toml
[dependencies]
api-tools = "0.0.3"
```
If you need all [features](#Features-list), you can use the `full` feature:
```toml
[dependencies]
api-tools = { version = "0.0.3", features = ["full"] }
```
Or you can use `cargo add` command:
```bash
cargo add api-tools
cargo add api-tools -F full
```
## Features list
| `axum` | Enable Axum feature | ❌ |
| `full` | Enable all features | ❌ |
## Examples
TODO
## Code coverage
Tool used: [tarpaulin](https://github.com/xd009642/tarpaulin)
```shell
cargo install cargo-tarpaulin
```
```shell
cargo tarpaulin --all-features --ignore-tests --line --count --include-files src/**/*
```
To generation HTML file [`tarpaulin-report.html`](tarpaulin-report.html):
```shell
cargo tarpaulin --all-features --ignore-tests --line --count --include-files src/**/* --out Html
```
_Results:_
- [2025-05-20] `60.71% coverage, 170/280 lines covered`
## MSRV
Tool used: [cargo-msrv](https://github.com/foresterre/cargo-msrv)
```shell
cargo install cargo-msrv
```
```shell
cargo msrv find
cargo msrv verify
```