3 releases

0.1.0-alpha.3 Feb 21, 2024
0.1.0-alpha.2 Feb 20, 2024

#5 in #backblaze

Download history 28/week @ 2024-07-26 3/week @ 2024-08-02 8/week @ 2024-09-20 4/week @ 2024-09-27 1/week @ 2024-10-04

61 downloads per month

MIT/Apache

89KB
1.5K SLoC

Yet Another Backblaze B2 Client

crates.io Documentation MIT/Apache-2 licensed

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)

API Coverage

  • b2_authorize_account
  • b2_cancel_large_file
  • b2_copy_file
  • b2_copy_part
  • b2_create_bucket
  • b2_create_key
  • b2_delete_bucket
  • b2_delete_file_version
  • b2_delete_key
  • b2_download_file_by_id
  • b2_download_file_by_name
  • b2_finish_large_file
  • b2_get_download_authorization
  • b2_get_file_info
  • b2_get_upload_part_url
  • b2_get_upload_url
  • b2_hide_file
  • b2_list_buckets
  • b2_list_file_names
  • b2_list_file_versions
  • b2_list_keys
  • b2_list_parts
  • b2_list_unfinished_large_files
  • b2_start_large_file
  • b2_update_bucket
  • b2_update_file_legal_hold
  • b2_update_file_retention
  • b2_upload_file
  • b2_upload_part

Missing API endpoints will be filled in over time.

Dependencies

~8–20MB
~281K SLoC