Crate demoji[][src]

Expand description

A lightweight and snappy crate to remove emojis from a string.

Overview

This crate allows for removal of emojis given a String, and that’s it!

This crate aims to be:

  • Fast
  • Lightweight
  • Easy To Use

Examples

// Remove all emojis from this string
let demojified_string = demoji("⚡hel✅🙂lo🙂");
assert_eq!(demojified_string, String::from("hello"));

Traits

Demojify String and &str

Functions

Removes all emojis from a string (retains chinese characters)