From 7c58848c2cbb217a6b3a9225549c12e77dbdea53 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Thu, 13 Jul 2023 07:43:57 +0200 Subject: [PATCH] Bump trash from 3.0.5 to 3.0.6 Bumps [trash](https://github.com/ArturKovacs/trash) from 3.0.5 to 3.0.6. - [Release notes](https://github.com/ArturKovacs/trash/releases) - [Changelog](https://github.com/Byron/trash-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/ArturKovacs/trash/compare/v3.0.5...v3.0.6) --- updated-dependencies: - dependency-name: trash dependency-type: direct:production update-type: version-update:semver-patch ... Correspondingly, enable the dispose test for a symlink to a filled directory on Windows as the bug that caused this test to be disabled on Windows has been fixed in the trash crate. _This commit was originally authored by Dependabot_ --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/main.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ab5dc3c..7a34cbe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -927,9 +927,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "trash" -version = "3.0.5" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85931d0ad541fa457c3f94c7cc5f14920f17a385832a7ef7621762c23cbf9729" +checksum = "af3663fb8f476d674b9c61d1d2796acec725bef6bec4b41402a904252a25971e" dependencies = [ "chrono", "libc", diff --git a/Cargo.toml b/Cargo.toml index faf7243..5524d3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ anstream = "0.3.2" clap = { version = "4.3.11", features = ["derive"] } log = "0.4.19" owo-colors = "3.5.0" -trash = { version = "3.0.5", optional = true } +trash = { version = "3.0.6", optional = true } [dev-dependencies] assert_cmd = { version = "2.0.8", features = ["color-auto"] } diff --git a/src/main.rs b/src/main.rs index e956c68..a4c5afd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2619,7 +2619,7 @@ mod rm { #[test] #[cfg_attr( - any(not(feature = "test-trash"), windows), + any(not(feature = "test-trash"), all(windows, not(feature = "test-symlink"))), ignore = "Only run with the test-trash feature" )] fn symlink_to_filled_dir() -> TestResult {