feat: tus client v0.0.1 with core protocol, creation, termination, and chunked uploads

This commit is contained in:
2026-05-29 15:25:35 +02:00
parent 8b4adb8f8e
commit 0544ac6e92
8 changed files with 2032 additions and 18 deletions
+34 -1
View File
@@ -1,3 +1,36 @@
# tusc
A tus resumable upload client for Rust (WIP)
A [tus](https://tus.io) **resumable upload client** for Rust.
> **Work in progress.** The API is not stable yet.
## What is tus?
[tus](https://tus.io/protocols/resumable-upload) is an open protocol for resumable file uploads over HTTP. Uploads can be interrupted and resumed without re-uploading data, making it ideal for large files and unreliable networks.
## Features
| Feature | Status |
|--------------------------------|-----------------------------------|
| Core protocol (HEAD, PATCH) | ✅ Done |
| Creation extension (POST) | ✅ Done |
| Termination extension (DELETE) | ✅ Done |
| Creation with upload | 🚧 Planned |
| Expiration handling | 🚧 Partial (parsed, not acted on) |
| Chunked uploads | ✅ Done |
| Checksum extension | ❌ Not planned |
| Concatenation extension | ❌ Not planned |
## Usage
```rust
// Coming soon
```
## Protocol compliance
**tusc** targets [tus v1.0.0](https://tus.io/protocols/resumable-upload) and does not depend on a specific HTTP version.
## License
This project is licensed under the [MIT License](LICENSE).