{"id":16555043,"url":"https://github.com/mxpv/stb","last_synced_at":"2025-10-28T19:31:19.765Z","repository":{"id":43704530,"uuid":"283628946","full_name":"mxpv/stb","owner":"mxpv","description":"Rust bindings to stb","archived":false,"fork":false,"pushed_at":"2022-02-22T20:36:22.000Z","size":62,"stargazers_count":8,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T17:40:57.496Z","etag":null,"topics":["rust","rust-crate","stb","stb-image","stb-truetype","stbi"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mxpv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-30T00:15:39.000Z","updated_at":"2024-12-25T22:20:41.000Z","dependencies_parsed_at":"2022-08-27T03:25:10.897Z","dependency_job_id":null,"html_url":"https://github.com/mxpv/stb","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxpv%2Fstb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxpv%2Fstb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxpv%2Fstb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxpv%2Fstb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mxpv","download_url":"https://codeload.github.com/mxpv/stb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238710032,"owners_count":19517628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","rust-crate","stb","stb-image","stb-truetype","stbi"],"created_at":"2024-10-11T19:52:56.241Z","updated_at":"2025-10-28T19:31:19.404Z","avatar_url":"https://github.com/mxpv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stb\n\n[![Crate](https://img.shields.io/crates/v/stb.svg)](https://crates.io/crates/stb)\n![CI](https://github.com/mxpv/stb/workflows/CI/badge.svg)\n[![Docs](https://docs.rs/stb/badge.svg)](https://docs.rs/stb)\n![Crates.io](https://img.shields.io/crates/l/stb)\n\n\nAll in one safe Rust API and wrappers for [stb libraries](https://github.com/nothings/stb).\n\nThe following APIs are currently available:\n- `stb_easy_font`\n- `stb_dxt`\n- `stb_image`\n- `stb_image_write`\n- `stb_perlin`\n\nPlease refer to the [documentation](https://docs.rs/stb) for details or have a look on [examples](https://github.com/mxpv/stb/tree/master/stb/examples).\n\nNot implemented, but planned:\n- `stb_truetype`\n- `stb_image_resize`\n- `stb_rect_pack`\n\n## Usage\n\nAdd the following to your `Cargo.toml` file:\n\n```toml\n[dependencies]\nstb = \"0.3.2\"\n```\n\nor if you want to have a specific feature selection:\n\n```toml\n[dependencies]\nstb = { version = \"0.3.2\", default-features = false, features = [\"stb_easy_font\"] }\n```\n\n## Create features\nHere is the list of feature toggles available in this crate so far:\n- `stb_easy_font`\n- `stb_dxt`\n    * `stb_dxt_use_rounding_bias`\n- `stb_image`\n    * `stbi_no_linear`\n    * `stbi_no_jpeg`\n    * `stbi_no_png`\n    * `stbi_no_bmp`\n    * `stbi_no_psd`\n    * `stbi_no_gif`\n    * `stbi_no_hdr`\n    * `stbi_no_pic`\n    * `stbi_no_pnm`\n- `stb_image_write`\n- `stb_perlin`\n\n## Contributing\n\nContributions are generally welcome. Make sure your changes make sense for this project (if in doubt, open an issue first),\nthe code is reasonbly tested, and passes the CI checks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmxpv%2Fstb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmxpv%2Fstb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmxpv%2Fstb/lists"}