# `detrim`
[![crates.io](https://img.shields.io/crates/v/detrim?label=latest)](https://crates.io/crates/detrim)
[![Documentation](https://docs.rs/detrim/badge.svg?version=0.1.4)](https://docs.rs/detrim/0.1.4)
[![dependency status](https://deps.rs/crate/detrim/0.1.4/status.svg)](https://deps.rs/crate/detrim/0.1.4)
![MIT or Apache 2.0 licensed](https://img.shields.io/crates/l/detrim.svg)
[![CI](https://github.com/x52dev/detrim/actions/workflows/ci.yml/badge.svg)](https://github.com/x52dev/detrim/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/x52dev/detrim/branch/main/graph/badge.svg)](https://codecov.io/gh/x52dev/detrim)
![Version](https://img.shields.io/badge/rustc-1.56.1+-ab6000.svg)
[![Download](https://img.shields.io/crates/d/detrim.svg)](https://crates.io/crates/detrim)
**De**serialization **trim**ming for strings in serde models.
## Examples
```rust
#[derive(Debug, serde::Deserialize)]
struct Form {
#[serde(deserialize_with = "detrim::string")]
name: String,
}
let form = serde_json::from_str::