macro no-std enum-repr-derive

Simple trait for converting enum to and from its primitive repr type

6 releases

0.2.0 Jul 28, 2021
0.1.5 Dec 26, 2020
0.1.3 Jan 25, 2020

#418 in No standard library

Download history 191/week @ 2024-07-20 299/week @ 2024-07-27 165/week @ 2024-08-03 326/week @ 2024-08-10 151/week @ 2024-08-17 267/week @ 2024-08-24 291/week @ 2024-08-31 163/week @ 2024-09-07 463/week @ 2024-09-14 211/week @ 2024-09-21 202/week @ 2024-09-28 233/week @ 2024-10-05 580/week @ 2024-10-12 1257/week @ 2024-10-19 543/week @ 2024-10-26 235/week @ 2024-11-02

2,662 downloads per month
Used in 18 crates (2 directly)

MIT license

11KB
118 lines

enum-repr-derive

Crates.io Docs.rs CI Coverage Status

Installation

Cargo

  • Install the rust toolchain in order to have cargo installed by following this guide.
  • run cargo install enum-repr-derive

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Releasing

cargo release --skip-publish and let the github CD pipeline do the rest.

Dependencies

~1.5MB
~39K SLoC