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

# roead breaking changes

roead 2.0.0 (November 29, 2026) is its newest release with breaking changes, 30 of them. The first: Removed roead::byml::BymlError. Every breaking API change we have recorded in roead on crates.io: 30 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.1.1`, released November 29, 2026. [Source repository](https://github.com/NiceneNerd/roead)

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

## roead 2.0.0 breaking changes

roead 2.0.0, released November 29, 2026: 30 breaking changes.

- **Removed** `roead::byml::BymlError`  

roead::byml::BymlError was removed in roead 2.0.0 [crates.io](https://crates.io/crates/roead/2.0.0)
- **Removed** `roead::Error::Yaz0Error`  

roead::Error::Yaz0Error was removed in roead 2.0.0 [crates.io](https://crates.io/crates/roead/2.0.0)
- **Behavior changed**  

YAML parsing and emission now use the native Rust ryml crate, which changes some string quoting in output. [github.com](https://github.com/NiceneNerd/roead/releases/tag/v2.0.0)
- **Behavior changed**  

Owned BYML maps now use hashbrown::HashMap with FxBuildHasher, so code relying on the previous map type or hasher may need changes. [github.com](https://github.com/NiceneNerd/roead/releases/tag/v2.0.0)
- **Behavior changed**  

SARC file equality now compares only the file entry, not its entire backing archive, so equal-looking comparisons may now differ. [github.com](https://github.com/NiceneNerd/roead/releases/tag/v2.0.0)
- **Configuration changed**  

Feature flags are now split into core, alloc, and std levels, so feature configurations may need to be updated. [github.com](https://github.com/NiceneNerd/roead/releases/tag/v2.0.0)
- **Configuration changed**  

The crate now uses edition 2024 and requires Rust 1.88 or later to build. [github.com](https://github.com/NiceneNerd/roead/releases/tag/v2.0.0)
- **Signature changed** `iter_by_name`  

NameTable::iter_by_name now returns NameRef instead of its previous item type, so code that consumes its items must be updated. [github.com](https://github.com/NiceneNerd/roead/releases/tag/v2.0.0)
- **Signature changed** `roead::aamp::NameTable::add_name_str`  

Was fn add_name_str<'s: 'a>(&'a self, name: &'s str); now fn add_name_str(&self, name: &'a str). [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::aamp::NameTable::get_name`  

NameTable::get_name now returns NameRef instead of its previous type, so code that uses the returned value must be updated. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::aamp::ParameterIO::read`  

Was fn read\<R: Read + Seek>(reader: R) -> Result\<ParameterIO>; now fn read\<R: Read + Seek>(mut reader: R) -> Result\<ParameterIO>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::byml::Byml::read`  

Was fn read\<R: Read + Seek>(reader: R) -> Result\<Byml>; now fn read\<R: std::io::Read + std::io::Seek>(mut reader: R) -> Result\<Byml>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::byml::Byml::write`  

Was fn write\<W: Write + Seek>(&self, writer: &mut W, endian: Endian, version: u16) -> Result<()>; now fn write\<W: std::io::Write + std::io::Seek>(&self, writer: &mut W, endian: Endian, version: u16) -> Result<()>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::byml::HashMap`  

Was type HashMap = rustc_hash::FxHashMap\<u32, Byml>; now type HashMap = hashbrown::HashMap\<u32, Byml, FxBuildHasher>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::byml::Map`  

Was type Map = rustc_hash::FxHashMap\<String, Byml>; now type Map = hashbrown::HashMap\<String, Byml, FxBuildHasher>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::byml::ValueHashMap`  

Was type ValueHashMap = rustc_hash::FxHashMap\<u32, (Byml, u32)>; now type ValueHashMap = hashbrown::HashMap\<u32, (Byml, u32), FxBuildHasher>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::Error::Any`  

Was Any(String); now Any(alloc::string::String). [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::Error::BadMagic`  

Was BadMagic(String, &'static str); now BadMagic(\[u8; 4\], &'static str). [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::Error::BinarySerde`  

Was BinarySerde(#\[from\] binrw::Error); now BinarySerde(binrw::Error). [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::Error::InvalidDataD`  

Was InvalidDataD(String); now InvalidDataD(alloc::string::String). [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::Error::InvalidUtf8`  

Was InvalidUtf8(#\[from\] std::str::Utf8Error); now InvalidUtf8(#\[from\] core::str::Utf8Error). [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::Error::InvalidYaml`  

Was InvalidYaml(#\[from\] ryml::Error); now InvalidYaml(#\[from\] ryml::parse::ParseError). [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::Error::TypeError`  

Was TypeError(smartstring::alias::String, &'static str); now TypeError(&'static str, &'static str). [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::Result`  

Was type Result\<T> = std::result::Result\<T, Error>; now type Result\<T> = core::result::Result\<T, Error>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::sarc::File::parse_sarc`  

Was fn parse_sarc(&self) -> crate::Result\<Sarc>; now fn parse_sarc(&self) -> crate::Result\<Sarc<'\_>>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::sarc::Sarc::file_at`  

Was fn file_at(&self, index: usize) -> Result\<File>; now fn file_at(&self, index: usize) -> Result\<File<'\_>>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::sarc::Sarc::get`  

Was fn get(&self, file: &str) -> Option\<File>; now fn get(&self, file: &str) -> Option\<File<'\_>>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::sarc::Sarc::new`  

Was fn new\<T: Into\<Cow<'a, \[u8\]>>>(data: T) -> crate::Result\<Sarc<'a>>; now fn new\<T: Into\<Source<'a>>>(data: T) -> crate::Result\<Sarc<'a>>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::sarc::Sarc::try_get`  

Was fn try_get(&self, file: &str) -> Result\<Option\<File>>; now fn try_get(&self, file: &str) -> Result\<Option\<File<'\_>>>. [crates.io](https://crates.io/crates/roead/2.0.0)
- **Signature changed** `roead::sarc::SarcWriter::files`  

Was files: IndexMap\<String, Vec\<u8>>; now files: IndexMap\<String, Vec\<u8>, std::hash::BuildHasherDefault\<rustc_hash::FxHasher>>. [crates.io](https://crates.io/crates/roead/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.
