1 unstable release

0.1.0 Nov 2, 2024

#840 in Text processing

Download history 111/week @ 2024-10-28 19/week @ 2024-11-04

130 downloads per month

MIT license

4KB

Text to Emoji

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.

Installation

Add this to your Cargo.toml:

[dependencies]
text_to_emoji = "0.1.0"

Example

use text_to_emoji::convert_to_emojis;

let result = convert_to_emojis("I love coffee and pizza");
assert_eq!(result, "I ❤️ ☕️ and 🍕");

License

This project is licensed under the MIT License.

No runtime deps