strafesnet_snf (0.2.0)

Published 2024-09-30 17:31:21 +00:00 by Quaternions in StrafesNET/snf

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add strafesnet_snf@0.2.0

About this package

StrafesNET File Format

Example

let file=std::fs::File::open(path)?;
let mut input=std::io::BufReader::new(file);
let snf=snf::read(input)?;
match snf{
	snf::SNF::Map(map)=>{},
	snf::SNF::Bot(bot)=>{},
	snf::SNF::Demo(demo)=>{},
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

ID Version
binrw ^0.14.0
id ^0.1.0
strafesnet_common ^0.5.0
Details
Cargo
2024-09-30 17:31:21 +00:00
6
19 KiB
Assets (1)
Versions (7) View all
0.2.0 2024-09-30
0.1.3 2024-08-09
0.1.3-bot 2024-08-08
0.1.2 2024-08-08
0.1.2-bot 2024-08-06