Skip to main content

kithara_file/
lib.rs

1#![forbid(unsafe_code)]
2
3//! File streaming implementation for progressive HTTP downloads.
4//!
5//! # Example
6//!
7//! ```ignore
8//! use kithara_stream::{Stream, StreamType};
9//! use kithara_file::{File, FileConfig};
10//!
11//! // Using StreamType API
12//! let config = FileConfig::new(url);
13//! let inner = File::create(config).await?;
14//! ```
15
16mod config;
17mod coord;
18mod error;
19mod session;
20mod stream;
21
22pub use config::{FileConfig, FileSrc};
23pub use stream::File;