added progress indicator

This commit is contained in:
Waradu 2024-10-20 10:04:09 +02:00
parent 9dcb098754
commit 11264e4be5
No known key found for this signature in database
GPG key ID: F85AAC8BA8B8DAAD
4 changed files with 54 additions and 11 deletions

View file

@ -6,7 +6,8 @@ Upload files to [streamshare](https://streamshare.wireway.ch)
Upload:
```rust
match upload(&file_path).await {
let show_progress = true;
match upload(&file_path, show_progress).await {
Ok((file_identifier, _deletion_token)) => {
let download_url = format!(
"https://streamshare.wireway.ch/download/{}",