font-awesome

Crates.iofont-awesome
lib.rsfont-awesome
version0.2.0
sourcesrc
created_at2021-08-02 23:26:10.696618
updated_at2021-10-25 18:21:32.327747
descriptionA typed manifest of constants of Font Awesome unicode code points
homepage
repositoryhttps://github.com/sanbox-irl/font-awesome
max_upload_size
id430738
size124,283
Jonathan Spira (sanbox-irl)

documentation

README

font-awesome

This is a library for getting font-awesome unicode codepoints without using magic names. Presently (0.1.0), it only supports the free, bold icons, and all of the typings are handmade. In the future, if time permits, it may get more complicated.

Game engines may find this to be useful, so that these magic characters can be referenced by name in code, rather than written out fully.

Additionally, it exposes a function which will provide a fat array of all of these in one. That function is marked as const, and should probably be used to load a const if you intend to use that, rather than putting them all on the stack.

This library is in no way endorsed or supported by FontAwesome directly, and I don't know if that's a problem.

Commit count: 6

cargo fmt