tokio-dl-stream-to-disk

crates.io Documentation MIT licensed CI

A micro-library for downloading from a URL and streaming it directly to the disk

Getting Started

```rust use std::path::Path;

[tokio::main]

async fn main() { if tokiodlstreamtodisk::download("https://bit.ly/3yWXSOW", &Path::new("/tmp"), "5mbtest.bin").await.isok() { println!("File downloaded successfully!"); } } ```

License: MIT