remove_dir_all breaking changes
remove_dir_all 0.8.0 (February 24, 2023) is its newest release with breaking changes, 5 of them. The first: Behavior changed remove_dir_contents. Every breaking API change we have recorded in remove_dir_all on crates.io: 5 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 1.0.0, released November 22, 2024. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
remove_dir_all 0.8.0 breaking changes
- Behavior changed
remove_dir_contents
The functions now only operate on directories to fix TOCTOU race conditions. Code that processed the contents of a symlink must resolve the symlink itself first; the new RemoveDir extension trait is the safer interface. github.com - Default changed
The feature controlling use of rayon is disabled by default. Code that relied on rayon being enabled must now enable the feature explicitly. github.com - Signature changed
remove_dir_all::ensure_empty_dir
Was fn ensure_empty_dir<P: AsRef<Path>>(path: P) -> io::Result<()>; now fn ensure_empty_dir<P: AsRef<Path>>(path: P) -> Result<()>. crates.io - Signature changed
remove_dir_all::remove_dir_all
Was fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> pub use std::fs::remove_dir_all; now fn remove_dir_all<P: AsRef<Path>>(path: P) -> Result<()>. crates.io - Signature changed
remove_dir_all::remove_dir_contents
Was fn remove_dir_contents<P: AsRef<Path>>(path: P) -> io::Result<()>; now fn remove_dir_contents<P: AsRef<Path>>(path: P) -> Result<()>. 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.