Expand description
Common helpers.
Structs§
- Hash
MapString String - Newtype for the
HashMap<String, String>
Functions§
- build_
upload_ asyncread - Wrap file or stdout for being uploaded with reqwests library. When dst_name = “-” - write content to the stdout. Otherwise write into the destination and display progress_bar
- build_
upload_ asyncread_ from_ file - Construct BoxedAsyncRead with progress bar from the file
- build_
upload_ asyncread_ from_ stdin - Construct BoxedAsyncRead with progress bar from stdin
- download_
file - Download content from the reqwests response stream. When dst_name = “-” - write content to the stdout. Otherwise write into the destination and display progress_bar
- parse_
json - parse_
key_ val - Parse a single key-value pair
- parse_
key_ val_ opt - Parse a single key-value pair where value can be null