Expand description
rusty-cat public SDK crate.
This crate exposes high-level APIs to enqueue and control upload/download tasks with breakpoint resume support.
For beginners, start from api or directly use meow_client::MeowClient
and meow_config::MeowConfig.
§Quick example
use rusty_cat::api::{MeowClient, MeowConfig, UploadPounceBuilder};
let config = MeowConfig::builder()
.max_upload_concurrency(2)
.max_download_concurrency(2)
.build()?;
let client = MeowClient::new(config);
let _task = UploadPounceBuilder::new("file.bin", "./file.bin", 1024 * 1024)
.with_url("https://example.com/upload")
.build();
let _ = client;Re-exports§
pub use api::*;
Modules§
- api
- Public API export hub for
rusty-cat. - chunk_
outcome - direction
- down_
pounce_ builder - error
- file_
transfer_ record - http_
breakpoint - Breakpoint upload/download protocol plugins.
- ids
- log
- Flow-level debug logging utilities.
- meow_
client - meow_
config - pounce_
task - prepare_
outcome - transfer_
executor_ trait - transfer_
snapshot - transfer_
status - transfer_
task - up_
pounce_ builder - upload_
trait
Macros§
- meow_
flow_ log - Internal flow debug logging macro.