scan-fonts

Crates.ioscan-fonts
lib.rsscan-fonts
version1.0.0
sourcesrc
created_at2018-11-24 14:27:03.983629
updated_at2018-11-24 14:27:03.983629
descriptionRecursively list which fonts are available in a directory.
homepage
repositoryhttps://github.com/yoshuawuyts/scan-fonts
max_upload_size
id98440
size31,254
Yosh (yoshuawuyts)

documentation

https://docs.rs/scan-fonts

README

scan-fonts

crates.io version build status downloads docs.rs docs

Recursively list which fonts are available in a directory.

Examples

Basic usage

use scan_fonts::scan_fonts;

for font in scan_fonts(".") {
  println!("font {}", font.name);
}

Installation

$ cargo add scan-fonts

Safety

This crate uses #![deny(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.

Contributing

Want to join us? Check out our "Contributing" guide and take a look at some of these issues:

References

None.

License

MIT OR Apache-2.0

Commit count: 3

cargo fmt