feat: add initial implementation of rsli crate
Some checks failed
Test / Lint (push) Failing after 1m30s
Test / Test (push) Has been skipped

- Created Cargo.toml for the rsli crate with flate2 dependency.
- Implemented ResourceData enum for handling borrowed and owned byte slices.
- Added OutputBuffer trait and its Vec<u8> implementation for writing data.
- Defined a comprehensive Error enum for error handling in the library.
- Developed the Library struct to manage resource entries and provide methods for loading and unpacking resources.
- Implemented various packing methods and decompression algorithms, including LZSS and Deflate.
- Added tests for validating the functionality of the rsli library against sample data.
This commit is contained in:
2026-02-09 22:58:16 +00:00
parent 5a97f2e429
commit e08b5f3853
9 changed files with 2354 additions and 1 deletions

7
crates/rsli/Cargo.toml Normal file
View File

@@ -0,0 +1,7 @@
[package]
name = "rsli"
version = "0.1.0"
edition = "2021"
[dependencies]
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }