bee-rs 1.2.0

Rust client for the Swarm Bee API. Functional parity with bee-js / bee-go.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Generic API surface: upload/download options, headers, rich
//! return types, and the pin / tag / stewardship endpoint methods.
//! Mirrors `pkg/api` in bee-go.

pub mod endpoints;
pub mod options;
pub mod result;

pub use endpoints::{ApiService, EnvelopeResponse, GranteeResponse, Tag};
pub use options::{
    CollectionUploadOptions, DownloadOptions, FileUploadOptions, HeaderPairs, OnEntryFn,
    PostageBatchOptions, RedundancyLevel, RedundancyStrategy, RedundantUploadOptions,
    UploadOptions, UploadProgress, prepare_collection_upload_headers, prepare_download_headers,
    prepare_file_upload_headers, prepare_redundant_upload_headers, prepare_upload_headers,
};
pub use result::{FileHeaders, UploadResult, parse_content_disposition_filename};