5 unstable releases
new 0.4.1 | May 25, 2023 |
---|---|
0.4.0 | Apr 12, 2023 |
0.3.0 | Apr 9, 2023 |
0.2.1 | Apr 2, 2023 |
0.1.0 |
|
#1361 in Web programming
57 downloads per month
89KB
2K
SLoC
MEGA API Rust Client
This is an API client library for interacting with MEGA's API using Rust.
Features
- Login with MEGA
- MFA support
- Get storage quotas
- Listing nodes
- Downloading nodes
- Uploading nodes
- Creating folders
- Renaming, moving and deleting nodes
- Timeout support
- Retries (exponential-backoff) support
- Parallel connections (downloading/uploading multiple file chunks in parallel)
- Downloading thumbnails and preview images
- Uploading thumbnails and preview images
- Shared links support
- Downloading from shared links
- Uploading to shared folders
- Create shared links to owned nodes
- Server-to-Client events support
Examples
You can see examples of how to use this library by looking at the different examples available.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~8–17MB
~345K SLoC