Crates.io | tinyget |
lib.rs | tinyget |
version | |
source | src |
created_at | 2021-01-28 08:58:18.803832+00 |
updated_at | 2025-04-01 00:37:44.827578+00 |
description | Tiny HTTP(S) GET |
homepage | https://github.com/justjavac/rust_tinyget |
repository | https://github.com/justjavac/rust_tinyget |
max_upload_size | |
id | 347601 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
a tiny fork of minreq.
Simple, minimal-dependency HTTP client. Optional features for https with
native-tls
TLS implementations.
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);
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) |
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 |
This crate is distributed under the terms of the MIT license.