7 releases (4 stable)

2.1.2 Apr 6, 2024
2.0.1 Apr 5, 2024
1.0.1 Apr 2, 2024
0.1.5 Apr 2, 2024

#252 in Command-line interface


Used in zenity

Custom license

230KB
5.5K SLoC

Unicode Icons (Rust)

Total groups: 10
Total functions: 1869

Features:

  • activities
  • animals_and_nature
  • component
  • flags
  • food_and_drink
  • objects
  • people_and_body
  • symbols
  • smileys_and_emotion
  • travel_and_places

full list at: DOCS.RS

Usage

// examples/main.rs

use unicode_icons::icons::{activities, flags};

fn main() {
    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

$ 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 file.


lib.rs:

Unicode Icons (Rust)

Total groups: 10 Total functions: 1869

features:

all are default

Usage

// 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

$ 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 file.

No runtime deps

Features