unicode-icons 2.1.2

(1869+) unicode icons in rust
Documentation
//! # Unicode Icons (Rust)
//!
//! Total groups: **10**
//! Total functions: **1869**
//!
//! features:
//! * [activities](./activities/index.html)
//! * [animals_and_nature](./animals_and_nature/index.html)
//! * [component](./component/index.html)
//! * [flags](./flags/index.html)
//! * [food_and_drink](./food_and_drink/index.html)
//! * [objects](./objects/index.html)
//! * [people_and_body](./people_and_body/index.html)
//! * [symbols](./symbols/index.html)
//! * [smileys_and_emotion](./smileys_and_emotion/index.html)
//! * [travel_and_places](./travel_and_places/index.html)
//!
//! all are default
//!
//! ## Usage
//!
//! ```rust
//! // examples/main.rs
//!
//! use unicode_icons::icons::{activities, flags};
//!
//! let format_string = format!("{} a string using format", activities::bullseye());
//! println!("{}", format_string);
//!
//! println!("Christmas Tree: {}", activities::christmas_tree());
//! println!("Cedy Flag: {}", flags::rainbow_flag());
//!
//! ```
//!
//!
//! ### Output
//!
//! ````shell
//! $ cargo run --example main
//!     🎯 a string using format
//!     Christmas Tree: 🎄
//!     Cedy Flag: 🏳️‍🌈
//! ````
//!
//! ## License
//!
//! This project is licensed under the **MIT** License.
//!
//! For more information, see the [LICENSE](LICENSE.md) file.
//!
//! ### Copyright (c) 2024 Ben

use std::fmt;

pub mod icons;

/// wrapper struct to implement display trait
pub struct Emoticon(pub String);

impl fmt::Display for Emoticon {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "{}", self.0)
    }
}

// from https://www.unicode.org/emoji/charts/full-emoji-list.html and others IDK rn