19 stable releases

2.3.0 Jan 4, 2021
2.2.1 Aug 22, 2020
2.2.0 Jun 18, 2020
2.1.0 Mar 14, 2020
0.1.2 Mar 18, 2018

#8 in HTTP client

Download history 786/week @ 2020-09-25 848/week @ 2020-10-02 754/week @ 2020-10-09 1002/week @ 2020-10-16 614/week @ 2020-10-23 973/week @ 2020-10-30 588/week @ 2020-11-06 879/week @ 2020-11-13 1473/week @ 2020-11-20 858/week @ 2020-11-27 648/week @ 2020-12-04 808/week @ 2020-12-11 219/week @ 2020-12-18 571/week @ 2020-12-25 434/week @ 2021-01-01 923/week @ 2021-01-08

3,247 downloads per month
Used in 22 crates (20 directly)

ISC license

93KB
1.5K SLoC

minreq

Crates.io Documentation CI

Simple, minimal-dependency HTTP client. Optional features for json responses (json-using-serde), unicode domains (punycode), http proxies (proxy), and https with various TLS implementations (https-rustls, https-bundled, https-bundled-probe, https-native, and https which is an alias for https-rustls).

Without any optional features, my casual testing indicates about 100 KB additional executable size for stripped release builds using this crate. Compiled with rustc 1.45.2, println!("Hello, World!"); is 239 KB on my machine, where the hello example is 347 KB. Both are pure Rust, so aside from libc, everything is statically linked.

Note: some of the dependencies of this crate (especially serde and the various https libraries) are a lot more complicated than this library, and their impact on executable size reflects that.

Documentation

License

This crate is distributed under the terms of the ISC license.

Dependencies

~0–3.5MB
~72K SLoC