| Crates.io | emojito |
| lib.rs | emojito |
| version | 0.3.5 |
| created_at | 2022-05-05 09:26:07.987219+00 |
| updated_at | 2022-12-20 10:29:30.215206+00 |
| description | Find all the Emoji in a string. Supports composed emoji. |
| homepage | https://github.com/terhechte/emojito |
| repository | https://github.com/terhechte/emojito |
| max_upload_size | |
| id | 580893 |
| size | 10,504 |
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.
let content = "Test ๐โค๏ธ! ๐ป๐ ๐จโ๐ฉโ๐ฆ kk ๐จโ๐ฉโ๐งโ๐ฆ";
let emojis = emojito::find_emoji(content);
assert_eq!(emojis.len(), 6);