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
3,247 downloads per month
Used in 22 crates
(20 directly)
93KB
1.5K
SLoC
minreq
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