6 releases

0.2.1 Apr 28, 2021
0.2.0 Apr 28, 2021
0.1.0 Apr 27, 2021
0.0.3 Mar 15, 2021
0.0.1 Feb 27, 2021

#1425 in Text processing


Used in rainr

Custom license

11KB
223 lines

EZEmoji

crates.io lastupdated GitHub repo size issuse Lines of Code License Discord Chat

This Project is to make finding Emoji's and Char Groups a bit easier. (WIP)

EZEmojis is a Work in progress made for use in rusty-rain which is a CMatrix clone

Rusty Rain

Warning

The api may change a lot in the coming updates.

Example

use ezemoji::{EZEmoji, Crab};
fn main() {
    println!("{:?}", Crab.as_vec_char());
}

The trait EZEmoji is provided to glue all the types together. You can implement it for your own type like

use ezemoji::EZEmoji;

struct MyEmojiGroup;
impl EZEmoji for MyEmojiGroup {
    fn as_vec_u32(&self) -> Vec<u32> {
        vec![96]
    }
}

HELP

If you have any ideas for this crate make an issue and lets talk about it.

No runtime deps