---
title: "rstb 2.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each rstb release removed, renamed or changed: 35 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/rstb
last_updated: 2026-12-04
---

# 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

Latest version `2.0.0`, released December 3, 2026. [Source repository](https://github.com/NiceneNerd/rstb-rust)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## rstb 2.0.0 breaking changes

rstb 2.0.0, released December 3, 2026: 35 breaking changes.

- **Removed** `rstb::FixedString`  

Replace FixedString with ResourceName; name_map is now keyed by it. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Removed** `rstb::RstbError::InsufficientData`  

Update error matches to use UnexpectedEnd. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Removed** `rstb::RstbError::InsufficientNameData`  

Update error matches to use UnexpectedNameEnd. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Removed** `rstb::RstbError::MissingExtension`  

Calculators now return None instead of this error. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Removed** `yaz0`  

Compression now uses roead 2.1.1 instead of the standalone yaz0 crate. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Input valid in both byte orders returns AmbiguousEndian; use from_binary_with_endian when the byte order is known. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Magic-less bare CRC tables are no longer accepted as binary input. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `calc*`  

Unknown extensions and malformed input now return None instead of a generic or heuristic estimate. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `remove`  

Lookup order changed, so names present in both tables may resolve differently. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `set_from_slice`  

On success an existing exact-name entry is updated in place; on failure both entries are removed. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Default changed**  

The default feature set is now std, yaz0 and calc. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Configuration changed**  

Builds need Rust 1.88 or later; the previous minimum was 1.80. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Configuration changed**  

The crate moved from edition 2021 to edition 2024. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **Configuration changed** `botw-data`  

Users who need JSON must enable the json feature explicitly. [github.com](https://github.com/NiceneNerd/rstb-rust/blob/v2.0.0/CHANGELOG.md)
- **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](https://crates.io/crates/rstb/2.0.0)
- **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](https://crates.io/crates/rstb/2.0.0)
- **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](https://crates.io/crates/rstb/2.0.0)
- **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](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::name_map`  

Was name_map: BTreeMap\<FixedString, u32>; now name_map: BTreeMap\<ResourceName, u32>. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::new_from_stock`  

Callers must handle the Result returned by new_from_stock. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::set`  

Callers must handle the Result returned by set. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::set_from_slice`  

Callers must handle the Result returned by set_from_slice. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::set_from_slice_with_estimate`  

Callers must handle the Result returned by set_from_slice_with_estimate. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::set_in_name_table`  

Callers must handle the Result returned by set_in_name_table. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::to_binary`  

Callers must handle the Result returned by to_binary. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::to_compressed_binary`  

Callers must handle the Result returned by to_compressed_binary. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::to_text`  

Callers must handle the Result returned by to_text. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::to_text_pretty`  

Callers must handle the Result returned by to_text_pretty. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::ResourceSizeTable::write`  

Callers must handle the Result returned by write. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::Result`  

Was type Result\<T> = std::result::Result\<T, RstbError>; now type Result\<T> = core::result::Result\<T, RstbError>. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::RstbError::BadMagic`  

Code that reads the BadMagic payload as a String must change. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::RstbError::FeatureError`  

Code that builds or reads FeatureError with a String must change. [crates.io](https://crates.io/crates/rstb/2.0.0)
- **Signature changed** `rstb::RstbError::Yaz0Error`  

Code matching Yaz0Error must use the roead error type. [crates.io](https://crates.io/crates/rstb/2.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
