### Setting Up Development Environment (Shell) Source: https://github.com/g1eny0ung/nerd-fonts.rs/blob/master/README.md This shell script outlines the steps to set up the development environment for `nerd-fonts.rs`. It involves cloning the repository, navigating to a utility directory to generate YAML files, and finally running tests using `cargo test`. ```Shell git clone https://github.com/g1eny0ung/nerd-fonts.rs.git && cd nerd-fonts.rs cd bin/nerd_fonts_css_to_yaml && ./generate-nerd-fonts-yaml.sh cd ../.. cargo test ``` -------------------------------- ### Loading and Accessing Nerd Fonts (Rust) Source: https://github.com/g1eny0ung/nerd-fonts.rs/blob/master/README.md This Rust snippet demonstrates how to load Nerd Fonts using `NerdFonts::load()` and then access a specific font icon by its identifier, such as 'custom-c'. It initializes a `NerdFonts` struct and retrieves a character value. ```Rust use nerd_fonts::NerdFonts; let nf = NerdFonts { nf: NerdFonts::load(), }; let nf_custom_c = nf.get("custom-c").unwrap(); // '\u{e61e}' ``` -------------------------------- ### Importing Nerd Fonts Crate (Rust) Source: https://github.com/g1eny0ung/nerd-fonts.rs/blob/master/README.md This Rust snippet declares an external crate dependency on `nerd_fonts`. This line is typically placed at the root of your `src/main.rs` or `src/lib.rs` to make the crate's items available. ```Rust extern crate nerd_fonts; ``` -------------------------------- ### Adding Nerd Fonts Dependency (TOML) Source: https://github.com/g1eny0ung/nerd-fonts.rs/blob/master/README.md This TOML snippet adds `nerd_fonts` as a dependency to your `Cargo.toml` file, specifying version `0.1`. This is the first step to include the library in your Rust project. ```TOML [dependencies] nerd_fonts = "0.1" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.