2 unstable releases

0.2.0 Nov 11, 2020
0.1.0 Apr 13, 2019

#398 in HTTP client


Used in pup

MIT license

110KB
812 lines

duma

Build Status Build status Build status

A minimal file downloader written in Rust.

features

  • support for http and https downloads
  • support for ftp downloads
  • Download resume capability
  • download progress bar

usage

Duma 0.1.0
Matt Gathu <mattgathu@gmail.com>
A minimal file downloader

USAGE:
    duma [FLAGS] [OPTIONS] <URL>

FLAGS:
    -c, --continue        resume getting a partially-downloaded file
    -h, --help            Prints help information
    -H, --headers         prints the headers sent by the HTTP server
    -q, --quiet           quiet (no output)
    -s, --singlethread    download using only a single thread
    -V, --version         Prints version information

OPTIONS:
    -U, --useragent <AGENT>                    identify as AGENT instead of Duma/VERSION
    -O, --output <FILE>                        write documents to FILE
    -n, --num_connections <NUM_CONNECTIONS>    maximum number of concurrent connections (default is 8)
    -T, --timeout <SECONDS>                    set all timeout values to SECONDS

ARGS:
    <URL>    url to download

Installation

Via cargo

cargo install duma

screenshot

screenshot

license

This project is license used the MIT license. See LICENSE for more details.

Dependencies

~9–21MB
~308K SLoC