3 releases

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

#1709 in Web programming

Download history 9/week @ 2024-03-09 1/week @ 2024-03-16 42/week @ 2024-03-30 3/week @ 2024-04-06 15/week @ 2024-04-27

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

~7–20MB
~298K SLoC