docs.rs failed to build rstb-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rstb-0.3.2
BOTW resource size table (RSTB) library in Rust
A quick and easy library for manipulating the resource size table (RSTB) from The Legend of Zelda: Breath of the Wild in Rust. Can edit an RSTB directly or convert to and from a JSON representation. Basic usage to manipulate an RSTB file:
use ;
let buf: = read?;
// Read RSTB from data, can automatically decompress if yaz0 compressed
// (requires `yaz0` feature)
let mut table: ResourceSizeTable = from_binary?;
// Set the size for a resource
table.set;
// Check the size
assert_eq!;
// Dump to JSON, if `json` feature enabled
// Write new binary copy, and we'll yaz0 compress it
let out_buf: = table.to_compressed_binary;