Crates.io | goldsrc-rs |
lib.rs | goldsrc-rs |
version | |
source | src |
created_at | 2022-09-01 02:44:24.478576 |
updated_at | 2024-10-16 19:08:57.452973 |
description | Collection of file's parsers for goldsrc engine. |
homepage | |
repository | https://github.com/r4v3n6101/goldsrc-rs/ |
max_upload_size | |
id | 656395 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Collection of file's parsers for goldsrc engine.
In your Cargo.toml add new dependency:
[dependcies]
goldsrc-rs = "0.14"
fn main() {
let file = File::open("test.wad").unwrap();
let entries = goldsrc_rs::wad_entries(file);
// Parsing miptex, fonts and so on...
let file = File::open("test.bsp").unwrap();
let bsp = goldsrc_rs::bsp(file);
// ...
}
Pull requests are welcome. This hasn't been tested appropriately.
So I'll be glad to see your results and bugs.