6 stable releases

1.1.2 Apr 1, 2025
1.1.1 Mar 31, 2025
1.0.2 May 8, 2024
1.0.1 Dec 24, 2021
1.0.0 Jan 28, 2021

#60 in HTTP client

Download history 30/week @ 2025-01-21 23/week @ 2025-01-28 143/week @ 2025-02-04 51/week @ 2025-02-11 108/week @ 2025-02-18 67/week @ 2025-02-25 19/week @ 2025-03-04 146/week @ 2025-03-11 50/week @ 2025-03-18 157/week @ 2025-03-25 257/week @ 2025-04-01 103/week @ 2025-04-08 64/week @ 2025-04-15 50/week @ 2025-04-22 51/week @ 2025-04-29 44/week @ 2025-05-06

213 downloads per month
Used in 7 crates

MIT license

47KB
740 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–9.5MB
~100K SLoC