sigil 0.1.1

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

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

How to use:

We use our own Character tuple struct: (chararacter char, name String, hex code String, int code u32)

Get information by a name:

extern crate sigil;

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

Get information by a character:

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

Get all unicode stuff as a vector of Characters:

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