charize 0.0.3

Provide a simple proc macro convert token to char.
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented1 out of 2 items with examples
  • Size
  • Source code size: 5.16 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 251.89 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • araraloren/charize
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • araraloren

charize

Provide a simple proc macro charize convert token to char.

Usage

pub fn main() {
    assert_eq!('o', charize::charize!(o));
    assert_eq!('1', charize::charize!(1));
    assert_eq!('', charize::charize!());
    assert_eq!('P', charize::charize!(P));
    assert_eq!('@', charize::charize!(@));
    assert_eq!('&', charize::charize!(&));
}

LICENSE

MPL-2.0