Backblaze B2 Client for Rust
This is a Rust client library for the Backblaze B2 cloud storage service. It provides a convenient interface for interacting with the B2 API. Relies on Tokio async runtime.
The crate provides a simple client B2SimpleClient that is just a mapping with b2 requests, and a normal client B2Client that provides helpful utilities
and auto re-auth to make life easier, you can access its inner basic client, currently only file uploads with create_upload.
The crate is still a work in progress, so expect breaking changes between 0.0.X versions.
Features
- Auto re-auth with Backblaze B2.
- Easy file upload handler.
- Mapped all b2 storage request in simple client.
Installation
Add the following dependency to your project using the cargo add command:
Usage
File Upload
use B2Client;
use File;
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For any questions or suggestions, please open an issue on GitHub.