dnld

Crates.iodnld
lib.rsdnld
version0.3.3
created_at2024-01-06 16:08:58.191673+00
updated_at2025-11-14 12:30:48.251561+00
descriptionRust library for simple downloading
homepage
repositoryhttps://github.com/qtfkwk/dnld
max_upload_size
id1091024
size47,788
(qtfkwk)

documentation

README

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.

Commit count: 11

cargo fmt