3 个版本
0.1.0-alpha.3 | 2024年2月21日 |
---|---|
0.1.0-alpha.2 | 2024年2月20日 |
#1709 in 网页编程
61 次每月下载
89KB
1.5K SLoC
另一个 Backblaze B2 客户端
有观点的 Backblaze B2 客户端。
特性
- 简单的 API,利用 Rust 的所有权进行 API 约束
- 自动重新认证和刷新上传 URL
Cargo 功能
fs
(启用从文件系统上传的优化例程)pool
(启用非大型UploadURL
对象池以供重用)reqwest_compression
(在reqwest
上启用 deflate/gzip 功能)large_buffers
(启用大缓冲区支持,64KiB 而不是 8KiB)
API 覆盖率
-
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
随着时间的推移,将填补缺少的 API 端点。
依赖关系
~7–20MB
~298K SLoC