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

# 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

Latest version `1.0.0`, released November 22, 2024. [Source repository](https://github.com/XAMPPRocky/remove%5Fdir%5Fall)

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

## remove_dir_all 0.8.0 breaking changes

remove_dir_all 0.8.0, released February 24, 2023: 5 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](https://github.com/XAMPPRocky/remove%5Fdir%5Fall/blob/v0.8.0/CHANGELOG.md)
- **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](https://github.com/XAMPPRocky/remove%5Fdir%5Fall/blob/v0.8.0/CHANGELOG.md)
- **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](https://crates.io/crates/remove%5Fdir%5Fall/0.8.0)
- **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](https://crates.io/crates/remove%5Fdir%5Fall/0.8.0)
- **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](https://crates.io/crates/remove%5Fdir%5Fall/0.8.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.
