Crates.io | wimlib-z |
lib.rs | wimlib-z |
version | 1.0.0 |
source | src |
created_at | 2022-03-12 03:22:01.008321 |
updated_at | 2022-03-12 03:22:01.008321 |
description | FFI bindings for wimlib. |
homepage | https://github.com/Zusier/wimlib-z |
repository | https://github.com/Zusier/wimlib-z.git |
max_upload_size | |
id | 548613 |
size | 1,104,296 |
These are Rust bindings for Wimlib, generated by bindgen:
https://rust-lang.github.io/rust-bindgen/
Please note that these are lowlevel bindings to the C lib. I am still working on a more Rust like abstraction for Wimlib that will use this crate for accessing the dynamic library.
Building has been tested on Arch Linux x86_64, using Rust 1.34, and Wimlib 1.13.0. Versions a little older or newer will probably just work.
The crate has no settings for building, as it doesn't actually build Wimlib. It simply uses the Wimlib provided by your OS.
If your OS's distribution has separate dev packages for header files, please make sure to have wimlib-dev
(or equivalent) installed.
To build, just run:
cargo build
To run the checks, run:
cargo run -- --test-threads=1
Running them sequentially is needed because the tests share a state.
Not tested yet, but should work.
It should work on Windows, but I'm not sure how to make Windows find the dll and C header.
If you find out, please let me know.
This library is licensed under GPLv3 or later and optionally under LGPLv3 or later. It primarily links to the following resource:
And uses the following special resource at compile time: