#string-search #emoji #unicode #search #string

emojito

Find all the Emoji in a string. Supports composed emoji.

4 releases (2 breaking)

0.3.5 Dec 20, 2022
0.3.0 Dec 20, 2022
0.2.1 May 6, 2022
0.1.0 May 5, 2022

#2932 in Text processing

Download history 13/week @ 2025-07-30 12/week @ 2025-08-06 12/week @ 2025-08-13 23/week @ 2025-08-20 9/week @ 2025-08-27 13/week @ 2025-09-03 16/week @ 2025-09-10 22/week @ 2025-09-24 24/week @ 2025-10-01 10/week @ 2025-10-08 46/week @ 2025-10-15 57/week @ 2025-10-22 11/week @ 2025-10-29 20/week @ 2025-11-05 6/week @ 2025-11-12

96 downloads per month
Used in skytool

MIT license

8KB
112 lines

license Rust CI Documentation

Emojito

emojito = "0.2.1"

Find Emoji in strings. Supports complex emoji such as ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ. Uses the unic-emoji-char crate in the background, and does not rely on regexes.

Usage

let content = "Test ๐Ÿ˜˜โค๏ธ! ๐Ÿ˜ป๐Ÿ’“ ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ  kk ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ";
let emojis = emojito::find_emoji(content);
assert_eq!(emojis.len(), 6);

Dependencies

~52MB
~1.5M SLoC