Crate kget

Crate kget 

Source
Expand description

KGet - A powerful download library for Rust

kget provides robust downloading capabilities including HTTP/HTTPS, FTP, SFTP, and torrent downloads with progress tracking, proxy support, and various optimizations.

Modules§

simple
Simplified API for quick downloads without creating a KelpsGet instance

Structs§

Config
DownloadOptions
Download options for fine-tuning the download process
FtpConfig
KGet
Main download client for the KGet library
OptimizationConfig
Optimizer
Structure responsible for optimizing download operations through compression and caching
ProxyConfig
SftpConfig
TorrentConfig

Enums§

ProxyType

Functions§

advanced_download
Convenience top-level API for advanced (parallel/resumable) downloads.
create_progress_bar
Make a custom progress bar for file downloads
create_progress_bar_factory
Expose progress bar factory for consumers who want to render their own bars. This simply forwards to create_progress_bar defined in progress.rs.
download
Convenience top-level API so other crates can call downloads without instantiating KGet themselves.

Type Aliases§

ProgressCallback
Custom progress callback type for integration with other libraries