| Crates.io | dnld |
| lib.rs | dnld |
| version | 0.3.0 |
| created_at | 2024-01-06 16:08:58.191673+00 |
| updated_at | 2025-09-02 18:20:16.180215+00 |
| description | Rust library for simple downloading |
| homepage | |
| repository | https://github.com/qtfkwk/dnld |
| max_upload_size | |
| id | 1091024 |
| size | 49,181 |
Rust library for simple downloading
// 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();
Please find the CHANGELOG.md in the repository.