3 stable releases

1.0.2 May 8, 2024
1.0.1 Dec 24, 2021
1.0.0 Jan 28, 2021

#73 in HTTP client

Download history 17/week @ 2024-08-05 21/week @ 2024-08-12 13/week @ 2024-08-19 36/week @ 2024-08-26 22/week @ 2024-09-02 19/week @ 2024-09-09 28/week @ 2024-09-16 82/week @ 2024-09-23 72/week @ 2024-09-30 2/week @ 2024-10-07 12/week @ 2024-10-14 12/week @ 2024-10-21 16/week @ 2024-10-28 20/week @ 2024-11-04 34/week @ 2024-11-11 34/week @ 2024-11-18

105 downloads per month
Used in 7 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.76.0 (07dca489a 2024-02-04)

debug release
hello 424,896 266,547
http 772,416(+348k) 319,856(+53k)
https 1,101,512(+677k) 344,432(+78k)

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–8.5MB
~89K SLoC