Bump trash-rs to fix panic for non-Unicode paths
See: https://github.com/Byron/trash-rs/issues/105 Some operating systems or file systems support non-Unicode paths (e.g. Linux and the BSDs). `trash-rs` panicked when trashing or listing the trash with non-UTF8 names. For COSMIC Files specifically, the program panics on start if the trash contains files with invalid Unicode names. It also panics when attempting to trash files with said names. To replicate: ```sh touch ''$'\250' gio trash ''$'\250' cosmic-files ```
This commit is contained in:
parent
553c11deb3
commit
cd135fc248
3 changed files with 28 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ regex = "1"
|
|||
serde = { version = "1", features = ["serde_derive"] }
|
||||
shlex = { version = "1.3" }
|
||||
tokio = { version = "1", features = ["sync"] }
|
||||
trash = "4.1.0"
|
||||
trash = "5.0"
|
||||
xdg = { version = "2.5.2", optional = true }
|
||||
xdg-mime = "0.3"
|
||||
url = "2.5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue