| Crates.io | text_to_emoji |
| lib.rs | text_to_emoji |
| version | 0.1.0 |
| created_at | 2024-11-02 14:47:38.895009+00 |
| updated_at | 2024-11-02 14:47:38.895009+00 |
| description | Convert text to emoji |
| homepage | https://github.com/FrancescoXX/text-to-emojis |
| repository | https://github.com/FrancescoXX/text-to-emojis |
| max_upload_size | |
| id | 1432938 |
| size | 4,071 |
A Rust library to convert words in a sentence into emojis! This library provides a fun and simple way to add emoji representations to text.
Add this to your Cargo.toml:
[dependencies]
text_to_emoji = "0.1.0"
use text_to_emoji::convert_to_emojis;
let result = convert_to_emojis("I love coffee and pizza");
assert_eq!(result, "I ❤️ ☕️ and 🍕");
This project is licensed under the MIT License.