#dds #directx #image #api-bindings #image-encoding #encoding

directxtex

Unofficial Rust bindings for Microsoft's DirectXTex library

5 stable releases

1.3.0 Jan 8, 2025
1.2.0 Jan 4, 2025
1.1.1 Dec 23, 2024
1.1.0 Dec 13, 2024
1.0.0 Jan 23, 2024

#550 in Images

Download history 198/week @ 2024-12-11 170/week @ 2024-12-18 93/week @ 2024-12-25 204/week @ 2025-01-01 200/week @ 2025-01-08 22/week @ 2025-01-15 43/week @ 2025-01-29 34/week @ 2025-02-05 2/week @ 2025-02-12 64/week @ 2025-02-19 32/week @ 2025-02-26 7/week @ 2025-03-05 21/week @ 2025-03-12 5/week @ 2025-03-19 13/week @ 2025-03-26

51 downloads per month
Used in 2 crates

MIT license

1.5MB
31K SLoC

C++ 28K SLoC // 0.1% comments Rust 3K SLoC // 0.0% comments

DirectXTex Rust Bindings

These are unofficial Rust bindings for the DirectXTex texture processing library. A C++17 compliant compiler is required to build this library, and it is verified to work on Windows, Linux, and MacOS. The docs contain a migration table that describes the equivalency between the original C++ API and its Rust bindings. Please see DirectXTex's README for more info.

The stable release docs are available at: https://docs.rs/directxtex/latest/directxtex/

Changelogs are available at: https://github.com/Ryan-rsm-McKenzie/directxtex-rs/releases

Dependencies

~5MB
~60K SLoC