Crate yab2

source ·
Expand description

§Yet Another Backblaze B2 Client

Opinionated Backblaze B2 Client.

§Features

  • Simple API making use of Rust’s ownership for API constraints
  • Automatic re-authentication and refreshing of Upload URLs

§Cargo Features

  • fs (enables optimized routine for uploading from filesystem)
  • pool (enabled non-large UploadURL object pool for reuse)
  • reqwest_compression (enables deflate/gzip features on reqwest)
  • large_buffers (enables large buffer support, 64KiB instead of 8KiB)

Re-exports§

Modules§

  • Autogenerated builders for various types.
  • Error Handling types for the B2 API.
  • Models for the B2 API.
  • A Pool of UploadUrls that can be used to upload files in parallel, reusing the same URLs, and reducing the number of requests to the B2 API.
  • Server-Side Encryption (SSE) types and utilities

Structs§

Enums§

  • Identifier for a file to download, either by its file ID or file name.