rstb breaking changes
rstb 2.0.0 (December 3, 2026) is its newest release with breaking changes, 35 of them. The first: Removed rstb::FixedString. Every breaking API change we have recorded in rstb on crates.io: 35 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.0.0, released December 3, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
rstb 2.0.0 breaking changes
- Removed
rstb::FixedString
Replace FixedString with ResourceName; name_map is now keyed by it. crates.io - Removed
rstb::RstbError::InsufficientData
Update error matches to use UnexpectedEnd. crates.io - Removed
rstb::RstbError::InsufficientNameData
Update error matches to use UnexpectedNameEnd. crates.io - Removed
rstb::RstbError::MissingExtension
Calculators now return None instead of this error. crates.io - Removed
yaz0
Compression now uses roead 2.1.1 instead of the standalone yaz0 crate. github.com - Behavior changed
Input valid in both byte orders returns AmbiguousEndian; use from_binary_with_endian when the byte order is known. github.com - Behavior changed
Binaries that link rstb 2.0 must be GPL-compatible. To stay on MIT terms, use the 1.x line (legacy branch, rstb 1.1). github.com - Behavior changed
Magic-less bare CRC tables are no longer accepted as binary input. github.com - Behavior changed
calc*
Unknown extensions and malformed input now return None instead of a generic or heuristic estimate. github.com - Behavior changed
remove
Lookup order changed, so names present in both tables may resolve differently. github.com - Behavior changed
set_from_slice
On success an existing exact-name entry is updated in place; on failure both entries are removed. github.com - Behavior changed
to_text
Output uses version, crc_hashes, crc_names and name_table instead of the legacy crc_map/name_map shape. github.com - Default changed
The default feature set is now std, yaz0 and calc. github.com - Configuration changed
Builds need Rust 1.88 or later; the previous minimum was 1.80. github.com - Configuration changed
The crate moved from edition 2021 to edition 2024. github.com - Configuration changed
botw-data
Users who need JSON must enable the json feature explicitly. github.com - Signature changed
rstb::ResourceSizeTable::from_binary
Was fn from_binary<B: Borrow<[u8]>>(bytes: B) -> Result<Self>; now fn from_binary<B: AsRef<[u8]>>(bytes: B) -> Result<Self, RstbError>. crates.io - Signature changed
rstb::ResourceSizeTable::from_text
Was fn from_text<S: AsRef<str>>(text: S) -> crate::Result<Self>; now fn from_text<S: AsRef<str>>(text: S) -> Result<Self>. crates.io - Signature changed
rstb::ResourceSizeTable::iter
Was fn iter(&self) -> impl Iterator<Item = (ResourceKey, &u32)>; now fn iter(&self) -> impl Iterator<Item = (ResourceKey<'_>, &u32)>. crates.io - Signature changed
rstb::ResourceSizeTable::iter_mut
Was fn iter_mut(&mut self) -> impl Iterator<Item = (ResourceKey, &mut u32)>; now fn iter_mut(&mut self) -> impl Iterator<Item = (ResourceKey<'_>, &mut u32)>. crates.io - Signature changed
rstb::ResourceSizeTable::name_map
Was name_map: BTreeMap<FixedString, u32>; now name_map: BTreeMap<ResourceName, u32>. crates.io - Signature changed
rstb::ResourceSizeTable::new_from_stock
Callers must handle the Result returned by new_from_stock. crates.io - Signature changed
rstb::ResourceSizeTable::set
Callers must handle the Result returned by set. crates.io - Signature changed
rstb::ResourceSizeTable::set_from_slice
Callers must handle the Result returned by set_from_slice. crates.io - Signature changed
rstb::ResourceSizeTable::set_from_slice_with_estimate
Callers must handle the Result returned by set_from_slice_with_estimate. crates.io - Signature changed
rstb::ResourceSizeTable::set_in_name_table
Callers must handle the Result returned by set_in_name_table. crates.io - Signature changed
rstb::ResourceSizeTable::to_binary
Callers must handle the Result returned by to_binary. crates.io - Signature changed
rstb::ResourceSizeTable::to_compressed_binary
Callers must handle the Result returned by to_compressed_binary. crates.io - Signature changed
rstb::ResourceSizeTable::to_text
Callers must handle the Result returned by to_text. crates.io - Signature changed
rstb::ResourceSizeTable::to_text_pretty
Callers must handle the Result returned by to_text_pretty. crates.io - Signature changed
rstb::ResourceSizeTable::write
Callers must handle the Result returned by write. crates.io - Signature changed
rstb::Result
Was type Result<T> = std::result::Result<T, RstbError>; now type Result<T> = core::result::Result<T, RstbError>. crates.io - Signature changed
rstb::RstbError::BadMagic
Code that reads the BadMagic payload as a String must change. crates.io - Signature changed
rstb::RstbError::FeatureError
Code that builds or reads FeatureError with a String must change. crates.io - Signature changed
rstb::RstbError::Yaz0Error
Code matching Yaz0Error must use the roead error type. crates.io
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.