cstr-enum 1.0.0

A crate for defining C-style string enums.
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: expected string literal
 --> $DIR/wrong_arg.rs:5:15
  |
5 |   #[cstr(name=0)]
  |               ^

error: invalid named argument
  --> $DIR/wrong_arg.rs:13:10
   |
13 |   #[cstr(foo="egg")]
   |          ^^^