Registry / http-client / minreq

minreq

JSON →
library2.14.1rscratesunverified

A simple, minimal-dependency HTTP client for Rust.

# Cargo.toml [dependencies] minreq = "2.14.1"
INSTALL
IMPORT
SIG · MINREQ
M
minreq
http-clientrustv2.14.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Request
use minreq::Request;

Simple GET request using minreq.

use minreq::Request; fn main() -> Result<(), Box<dyn std::error::Error>> { let response = Request::get("https://httpbin.org/get").send()?; println!("{}", response.as_str()?); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.14.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
minreq — cargo add minreq · libregistry