sigil 0.2.0

Simple and bad library for fetching unicode character names and some other stuff.
Documentation
  • Coverage
  • 11.11%
    1 out of 9 items documented0 out of 4 items with examples
  • Size
  • Source code size: 1 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.43 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fwrs

Simple and bad library for fetching unicode character names and some other stuff.

How to use:

Get information by a name:

extern crate sigil;

assert_eq!(sigil::info_by_name("HUNDRED POINTS SYMBOL").unwrap().character,
    	   '💯');

Get information by a character:

assert_eq!(sigil::info_by_char('💯').unwrap().name,
		   "HUNDRED POINTS SYMBOL".to_string());

Get all unicode stuff as a vector of Characters:

assert_eq!(sigil::raw_unicode_data().get(28695).unwrap().name,
		   "HUNDRED POINTS SYMBOL".to_string());