2 stable releases

1.0.1 Dec 24, 2021
1.0.0 Jan 28, 2021

#225 in HTTP client

Download history 106/week @ 2023-12-14 25/week @ 2023-12-21 6/week @ 2023-12-28 121/week @ 2024-01-04 37/week @ 2024-01-11 64/week @ 2024-01-18 153/week @ 2024-01-25 310/week @ 2024-02-01 230/week @ 2024-02-08 239/week @ 2024-02-15 216/week @ 2024-02-22 164/week @ 2024-02-29 154/week @ 2024-03-07 132/week @ 2024-03-14 119/week @ 2024-03-21 158/week @ 2024-03-28

582 downloads per month
Used in 5 crates

MIT license

40KB
621 lines

tinyget

ci 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)

Compare

http https
tinyget 283,920 319,632
minreq 300,328 959,744
ureq 695,632 1,371,368
reqwest 1,639,496 1,675,032

License

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

Dependencies

~0–10MB
~91K SLoC