KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
manic
★ 18
Open GitHub ↗
Rust download library
Download README (.md)
Explore Similar Repositories
OptimizationTestFunctions
:
Collection of optimization test functions and some useful methods for working with them
williamjiamin
:
No description available.
icevision_dashboards
:
No description available.
fmm
:
The uncurried minimal functional programming language for CPS transformation
Munchkin
:
2021 Entry6.0 backend repository
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
manic
?
Download (.md)
# Manic [](https://github.com/x0f5c3/manic) [](https://crates.io/crates/manic)  [](https://crates.io/crates/manic) [](https://deps.rs/crate/manic/0.6.4) Fast and simple multithread downloads Provides easy to use functions to download a file using multiple async or threaded connections while taking care to preserve integrity of the file and check it against a checksum. ## Feature flags - `progress`: Enables progress reporting using indicatif [enabled by default] - `json`: Enables use of JSON features on the reqwest Client [enabled by default] - `rustls`: Use Rustls for HTTPS [enabled by default] - `openssl`: Use OpenSSL for HTTPS - `threaded`: Enable multithreaded client - `async`: Enable async client [enabled by default] ## Crate usage ### Examples #### Async example ```rust use manic::Downloader; #[tokio::main] async fn main() -> Result<(), manic::ManicError> { let workers: u8 = 5; let client = Downloader::new("https://crates.io", workers).await?; let _ = client.download().await?; Ok(()) } ``` #### Multithread example ```rust use manic::threaded::Downloader; fn main() -> Result<(), manic::ManicError> { let workers: u8 = 5; let client = Downloader::new("https://crates.io", workers)?; let _ = client.download()?; Ok(()) } ``` License: MIT OR Apache-2.0