Registry / utility / lzma-sys

lzma-sys

JSON →
library0.1.20rscratesunverified

Raw bindings to liblzma which contains an implementation of LZMA and xz stream encoding/decoding. High level Rust bindings are available in the `xz2` crate.

# Cargo.toml [dependencies] lzma-sys = "0.1.20"
INSTALL
IMPORT
SIG · LZMA-SYS
L
lzma-sys
utilityrustv0.1.20
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

lzma_stream_decoder
use lzma_sys::lzma_stream_decoder;

Call the raw lzma stream decoder (unsafe).

use lzma_sys::lzma_stream_decoder; fn main() { unsafe { let ret = lzma_stream_decoder(std::ptr::null_mut(), 0, 0); println!("Decoder returned: {}", ret); } }
Debug
Known issues
gotchaThis is a raw sys crate; prefer the safe xz2 crate.
fix
Use xz2 crate for safe high-level bindings.
affects: >=0.1.0
Upgrade
Version history
0.1.20latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lzma-sys — cargo add lzma-sys · libregistry