gmod-lzma 1.0.1

util.Compress and util.Decompress but in Rust!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {
	println!("cargo:rerun-if-changed=bootil");
	println!("cargo:rerun-if-changed=build.rs");

	// Build Bootil LZMA
	cc::Build::new()
		.file("bootil/src/3rdParty/lzma/LzFind.c")
		.file("bootil/src/3rdParty/lzma/LzmaLib.c")
		.file("bootil/src/3rdParty/lzma/LzmaDec.c")
		.file("bootil/src/3rdParty/lzma/LzmaEnc.c")
		.file("bootil/src/3rdParty/lzma/Alloc.c")
		.compile("lzma");
}