8 releases (2 stable)
Uses new Rust 2024
| 2.0.0 | Aug 16, 2025 |
|---|---|
| 1.0.0 | Aug 14, 2025 |
| 0.2.1 | Apr 28, 2021 |
| 0.1.0 | Apr 27, 2021 |
| 0.0.1 | Feb 27, 2021 |
#1059 in Text processing
330 downloads per month
Used in 2 crates
24KB
386 lines
EZEmoji
ezemoji is a compile-time Rust library that provides convenient access to groups of Unicode characters, including emojis, symbols, letters, numbers, and more. All character groups are generated at compile time, making it extremely efficient and suitable for no_std and embedded environments, with optional alloc support.
Features
- Compile-time character groups: All slices of characters are generated at compile time for zero runtime cost.
- Access predefined groups like letters, numbers, emojis, shapes, and arrows.
- Iterate over characters as
u32code points. - Determine character display width (
SingleorDouble) at runtime. - Custom extendable groups: Users can define their own character sets at compile time.
- Fully
no_stdcompatible, with optionalallocsupport for dynamic structures.
Installation
Add ezemoji to your Cargo.toml:
[dependencies]
ezemoji = "1.0.0"
Used in
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
MIT / Apache-2.0