# nextcloud-trashbin
> WebDAV trashbin management and file restoration client for Nextcloud.
Part of the [`nextcloud-rust-sdk`](https://github.com/Luxuride/nextcloud-rust-sdk) workspace.
## Installation
```toml
[dependencies]
nextcloud-trashbin = "0.1.2"
```
## Features
- `TrashClient`: Interacts with `/remote.php/dav/trashbin/` endpoints.
- `TrashItem`: Parsed deleted resource with original path, deletion timestamp, and size.
- Restores deleted files with a single method call.
## Example
```rust,no_run
use nextcloud_trashbin::TrashClient;
// Lists deleted files, restores items to original paths, and permanently purges trash
```
## License
GNU General Public License v3.0 or later ([`GPL-3.0-or-later`](https://www.gnu.org/licenses/gpl-3.0.html)).