use dwldutil::{DLFile, DLHashes, Downloader};
fn main() {
let dl = Downloader::new()
.add_file(
DLFile::new()
.with_path("image.png")
.with_url("https://httpbin.org/image/png")
.with_size(8090)
.with_hashes(DLHashes::new().sha1("379f5137831350c900e757b39e525b9db1426d53")),
);
dl.start();
}