https://github.com/clovu/trash-rs
`trash-rs` is a Rust library to safely move files to the Trash. Currently supports macOS, with Windows and Linux support planned.
https://github.com/clovu/trash-rs
file-management rust trash
Last synced: about 1 month ago
JSON representation
`trash-rs` is a Rust library to safely move files to the Trash. Currently supports macOS, with Windows and Linux support planned.
- Host: GitHub
- URL: https://github.com/clovu/trash-rs
- Owner: clovu
- License: mit
- Created: 2025-11-14T23:20:56.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-03-28T21:41:10.000Z (4 months ago)
- Last Synced: 2026-03-28T22:28:42.611Z (4 months ago)
- Topics: file-management, rust, trash
- Language: Rust
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trash-rs
`trash-rs` is an open-source Rust workspace that provides:
- `trash-rs`: a reusable library crate
- `trash-rs-cli`: a command-line tool built on top of the library
## Crates.io packages
- Library: [`trash-rs`](https://crates.io/crates/trash-rs)
- CLI: [`trash-rs-cli`](https://crates.io/crates/trash-rs-cli)
## Repository layout
- [crates/trash-rs/](crates/trash-rs/) — library source and crate README
- [crates/trash-rs-cli/](crates/trash-rs-cli/) — CLI source and crate README
> For user-facing install/usage docs, read each crate README above (these are what crates.io displays).
## Workspace development
```bash
cargo fmt --all -- --check
cargo check --workspace
cargo clippy --workspace --all-targets --all-features --tests --benches -- -D warnings
cargo test --workspace --all-features
```
Run CLI from source:
```bash
cargo run -p trash-rs-cli -- --help
```
## License
MIT License © 2026 [Clover You](https://github.com/clovu)