<h1 align="center">kdam_derive</h1>

<p align="center">
  <a href="https://crates.io/crates/kdam_derive">
    <img src="https://img.shields.io/crates/d/kdam_derive?style=flat-square">
  </a>
  <a href="https://crates.io/crates/kdam_derive">
    <img src="https://img.shields.io/crates/v/kdam_derive?style=flat-square">
  </a>
  <a href="https://docs.rs/kdam_derive">
    <img src="https://img.shields.io/docsrs/kdam_derive?logo=docsdotrs&style=flat-square">
  </a>
  <a href="https://github.com/clitic/kdam/blob/main/kdam_derive/README.md#license">
    <img src="https://img.shields.io/crates/l/kdam_derive?style=flat-square">
  </a>
</p>

A derive macro for deriving [kdam::BarExt](https://docs.rs/kdam/latest/kdam/trait.BarExt.html) trait for a struct.

## Getting Started

Add this to your Cargo.toml file.

```toml
[dependencies]
kdam_derive = "0.1.0"
```

Or add from command line.

```bash
$ cargo add kdam_derive
```

See [docs](https://docs.rs/kdam_derive) and [examples](https://github.com/clitic/kdam/tree/main/kdam_derive/examples) to 
know how to use it.

## License

Dual Licensed

- [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) ([LICENSE-APACHE](https://github.com/clitic/kdam/blob/main/kdam_derive/LICENSE-APACHE))
- [MIT license](https://opensource.org/licenses/MIT) ([LICENSE-MIT](https://github.com/clitic/kdam/blob/main/kdam_derive/LICENSE-MIT))
