#slice #fork #enums

macro enum_to_u8_slice_derive

A simple fork of enum_to_str_derive (by @DCjanus), convert enum to u8 slice ref

3 unstable releases

Uses old Rust 2015

0.2.0 Jul 9, 2020
0.1.1 Apr 5, 2018
0.1.0 Apr 5, 2018

#248 in #fork

Download history 69/week @ 2024-07-25 54/week @ 2024-08-01 39/week @ 2024-08-08 27/week @ 2024-08-15 23/week @ 2024-08-22 28/week @ 2024-08-29 54/week @ 2024-09-05 70/week @ 2024-09-12 86/week @ 2024-09-19 88/week @ 2024-09-26 42/week @ 2024-10-03 41/week @ 2024-10-10 21/week @ 2024-10-17 28/week @ 2024-10-24 113/week @ 2024-10-31 41/week @ 2024-11-07

206 downloads per month
Used in 2 crates

BSD-3-Clause

4KB

enum_to_u8_slice_derive

This crate is a fork of the enum_to_str_derive crate, written by @DCjanus.

Unlike enum_to_str_derive which outputs a &'static str, this crate generates a &'static [u8] .

Dependencies

~1.5MB
~37K SLoC