#cross #platform

trash-utils

Cross platform crate for interacting with the trash

3 unstable releases

0.2.0 Aug 31, 2020
0.1.1 Oct 19, 2019
0.1.0 Oct 19, 2019

#39 in #cross

MIT license

15KB
396 lines

trash-utils-rs

crates.io

A cross platform Rust library for interacting with the trash.

Warning: trash-utils is currently beta level and no guarantees are made about its integrity of managing your files. Additionally, it currently only works on Linux, and it only interacts with the home trash and does not properly handle trashing files if the files are on a different filesystem/partition as your home folder.

Usage

Add the following to Cargo.toml:

[dependencies]
trash-utils = "0.2.0"

Dependencies

~5MB
~98K SLoC