Crates.io | font-awesome |
lib.rs | font-awesome |
version | 0.2.0 |
source | src |
created_at | 2021-08-02 23:26:10.696618 |
updated_at | 2021-10-25 18:21:32.327747 |
description | A typed manifest of constants of Font Awesome unicode code points |
homepage | |
repository | https://github.com/sanbox-irl/font-awesome |
max_upload_size | |
id | 430738 |
size | 124,283 |
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.