#bindings #low-level #alpha #api-bindings #search #lzham

sys lzham-alpha-sys

Low level FFI-bindings for the lzham alpha codec

2 releases

0.1.1 Feb 18, 2024
0.1.0 Feb 18, 2024

#294 in Compression

35 downloads per month
Used in sourcepak

MIT license

475KB
11K SLoC

C++ 8K SLoC // 0.0% comments Rust 3K SLoC // 0.0% comments Visual Studio Project 320 SLoC Bitbake 31 SLoC

lzham-alpha-sys

Low level Rust FFI bindings for lzham alpha generated using bindgen.

You must have cmake and a C++ compiler to build this crate, as the lzham library is built along with the crate. The crate does not search for a prebuilt library.

Usage

Add the following to your Cargo.toml:

[dependencies]
lzham-alpha-sys = "0.1.1"

Features

The crate has the following three features:

  • generate_bindings: Generates the bindings again (uses bindgen)

License

lzham-alpha-sys is available under the MIT license. See LICENSE for more details.

No runtime deps

~0–345KB