nerd_fonts-0.1.3 has been yanked.
nerd-fonts.rs
Nerd Fonts in rust.
Preinstall
https://github.com/ryanoasis/nerd-fonts#font-installation
How to use
In your Cargo.toml, add:
[]
= "0.1"
Then import it:
extern crate nerd_fonts;
Use NerdFonts::load to load:
use NerdFonts;
let nf = NerdFonts ;
let nf_custom_c = nf.get.unwrap; // "e61e"
How to contribute
Pull a request or open an issue to describe your changes or problems.
License
MIT@g1eny0ung