text_to_emoji

Crates.iotext_to_emoji
lib.rstext_to_emoji
version0.1.0
sourcesrc
created_at2024-11-02 14:47:38.895009
updated_at2024-11-02 14:47:38.895009
descriptionConvert text to emoji
homepagehttps://github.com/FrancescoXX/text-to-emojis
repositoryhttps://github.com/FrancescoXX/text-to-emojis
max_upload_size
id1432938
size4,071
Francesco Ciulla (FrancescoXX)

documentation

README

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.

Commit count: 1

cargo fmt