2 stable releases

1.0.1 Dec 24, 2021
1.0.0 Jan 28, 2021

#104 in HTTP client

Download history 21/week @ 2022-11-27 32/week @ 2022-12-04 42/week @ 2022-12-11 37/week @ 2022-12-18 21/week @ 2022-12-25 38/week @ 2023-01-01 35/week @ 2023-01-08 20/week @ 2023-01-15 61/week @ 2023-01-22 60/week @ 2023-01-29 49/week @ 2023-02-05 68/week @ 2023-02-12 60/week @ 2023-02-19 110/week @ 2023-02-26 47/week @ 2023-03-05 29/week @ 2023-03-12

252 downloads per month
Used in 4 crates

MIT license

39KB
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–6MB
~104K SLoC