dnld

Crates.iodnld
lib.rsdnld
version0.3.0
created_at2024-01-06 16:08:58.191673+00
updated_at2025-09-02 18:20:16.180215+00
descriptionRust library for simple downloading
homepage
repositoryhttps://github.com/qtfkwk/dnld
max_upload_size
id1091024
size49,181
(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