15 releases
Uses new Rust 2024
| new 0.3.4 | Mar 3, 2026 |
|---|---|
| 0.3.3 | Nov 14, 2025 |
| 0.3.1 | Oct 27, 2025 |
| 0.2.0 | May 10, 2025 |
| 0.1.2 | Jan 6, 2024 |
#350 in HTTP client
16KB
73 lines
About
Rust library for simple downloading
Usage
// Create a client
let download = dnld::Client::new("dnld").unwrap();
// Download a URL to a string
let url = "https://server.tld/path/to/file";
//let contents = download.to_string(url).unwrap();
// Download a URL to a file
let dir = std::path::Path::new(".");
//let path = download.to_file(url, Some(&dir)).unwrap();
Changelog
Please find the CHANGELOG.md in the repository.
Dependencies
~4–20MB
~198K SLoC