1 stable release

1.0.0 Jan 28, 2021

#94 in HTTP client

41 downloads per month
Used in 2 crates

MIT license

39KB
626 lines

tinyget

Build Status Latest version Crate Documentation License

a tiny fork of minreq.

Simple, minimal-dependency HTTP client. Optional features for https with native-tls TLS implementations.

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
tinyget = "1.0"
let response = tinyget::get("https://httpbin.org/anything").send()?;
let hello = response.as_str()?;
println!("{}", hello);

Size

rustc 1.49.0 (e1884a8e3 2020-12-29)

debug release
hello 262,864 233,752
http 498,040(+235k) 283,920(+50k)
https 702,696(+440k) 319,632(+87k)

License

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

Dependencies

~0–425KB