Skip to content

Commit

Permalink
Bump trash from 3.0.4 to 3.0.5 & update dependencies
Browse files Browse the repository at this point in the history
Bumps [trash](https://github.com/ArturKovacs/trash) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/ArturKovacs/trash/releases)
- [Changelog](https://github.com/Byron/trash-rs/blob/master/CHANGELOG.md)
- [Commits](Byron/trash-rs@v3.0.4...v3.0.5)

---
updated-dependencies:
- dependency-name: trash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Due to the changes in this release of the trash crate, one additional
symlink test is now ignored on Windows due to compatibility issues.

Following warnings about a yanked crate, this also updates all other
dependencies using `cargo update`.

_This commit was originally authored by Dependabot_
  • Loading branch information
ericcornelissen committed Jul 7, 2023
1 parent 3b32104 commit 3c36ed0
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 31 deletions.
61 changes: 33 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ test-trash = []

[dependencies]
anstream = "0.3.2"
clap = { version = "4.3.5", features = ["derive"] }
clap = { version = "4.3.11", features = ["derive"] }
log = "0.4.19"
owo-colors = "3.5.0"
trash = { version = "3.0.4", optional = true }
trash = { version = "3.0.5", optional = true }

[dev-dependencies]
assert_cmd = { version = "2.0.8", features = ["color-auto"] }
Expand Down
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2568,7 +2568,10 @@ mod rm {
}

#[test]
#[cfg_attr(not(feature = "test-trash"), ignore = "Only run with the test-trash feature")]
#[cfg_attr(
any(not(feature = "test-trash"), windows),
ignore = "Only run with the test-trash feature"
)]
fn symlink_to_filled_dir() -> TestResult {
with_test_dir(|test_dir| {
let dir = test_dir.child("dir");
Expand Down

0 comments on commit 3c36ed0

Please sign in to comment.