#stb #gamedev #low-level #api-bindings

sys stb-sys

Low level bindgen generated wrappers for stb libraries

9 releases (5 breaking)

0.6.0 Aug 8, 2020
0.5.0 Aug 8, 2020
0.4.1 Aug 8, 2020
0.3.1 Aug 2, 2020
0.1.1 Aug 1, 2020

#8 in #stb

Download history 15/week @ 2024-08-29 18/week @ 2024-09-05 20/week @ 2024-09-12 26/week @ 2024-09-19 26/week @ 2024-09-26 21/week @ 2024-10-03 8/week @ 2024-10-10 15/week @ 2024-10-17 16/week @ 2024-10-24 16/week @ 2024-10-31 9/week @ 2024-11-07 6/week @ 2024-11-14 18/week @ 2024-11-21 24/week @ 2024-11-28 32/week @ 2024-12-05 46/week @ 2024-12-12

120 downloads per month
Used in 2 crates

MIT license

490KB
4K SLoC

C 4K SLoC // 0.2% comments Rust 73 SLoC

stb-sys

Crate CI Crates.io

Low level bindgen generated bindings to stb libraries.

The following APIs are currently available:

  • stb_easy_font
  • stb_dxt
  • stb_image
  • stb_image_write
  • stb_perlin
  • stb_rect_pack
  • stb_image_resize
  • stb_truetype

For high level bindigns have a look on stb crate.

Usage

Add the following to your Cargo.toml file:

[dependencies]
stb-sys = { version = "0.4.0", features = ["stb_image", "stb_image_write"] }

Contributing

Contributions 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.

Dependencies