| Crates.io | stb |
| lib.rs | stb |
| version | 0.3.2 |
| created_at | 2020-08-01 23:08:33.218497+00 |
| updated_at | 2020-08-08 02:09:16.747705+00 |
| description | Safe Rust API for stb libraries |
| homepage | |
| repository | https://github.com/mxpv/stb |
| max_upload_size | |
| id | 272039 |
| size | 47,564 |
All in one safe Rust API and wrappers for stb libraries.
The following APIs are currently available:
stb_easy_fontstb_dxtstb_imagestb_image_writestb_perlinPlease refer to the documentation for details or have a look on examples.
Not implemented, but planned:
stb_truetypestb_image_resizestb_rect_packAdd the following to your Cargo.toml file:
[dependencies]
stb = "0.3.2"
or if you want to have a specific feature selection:
[dependencies]
stb = { version = "0.3.2", default-features = false, features = ["stb_easy_font"] }
Here is the list of feature toggles available in this crate so far:
stb_easy_fontstb_dxt
stb_dxt_use_rounding_biasstb_image
stbi_no_linearstbi_no_jpegstbi_no_pngstbi_no_bmpstbi_no_psdstbi_no_gifstbi_no_hdrstbi_no_picstbi_no_pnmstb_image_writestb_perlinContributions are generally welcome. Make sure your changes make sense for this project (if in doubt, open an issue first), the code is reasonbly tested, and passes the CI checks.