| Crates.io | terminal-emoji |
| lib.rs | terminal-emoji |
| version | 0.4.1 |
| created_at | 2021-03-03 23:09:30.344268+00 |
| updated_at | 2021-03-15 17:14:17.829351+00 |
| description | A library for safely displaying emoji inside of terminals |
| homepage | |
| repository | https://github.com/SirWindfield/terminal-emoji-rs |
| max_upload_size | |
| id | 363392 |
| size | 22,073 |
A Rust library for safely displaying emojis inside terminals. Note: The idea is taken from
consoleand adapted to be more lightweight.
use terminal_emoji::Emoji;
fn main() {
let crab = Emoji::new("🦀", "C");
println!("{}", crab);
}
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.