Registry / http-client / ureq
library3.3.0rscratesunverified

Simple, safe HTTP client for Rust with a blocking API.

# Cargo.toml [dependencies] ureq = "3.3.0"
INSTALL
IMPORT
SIG · UREQ
U
ureq
http-clientrustv3.3.0
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.

Agent
use ureq::Agent;

Make a GET request using ureq's Agent.

use ureq::Agent; fn main() -> Result<(), ureq::Error> { let agent = Agent::new(); let response = agent.get("https://httpbin.org/get").call()?; println!("Status: {}", response.status()); Ok(()) }
Debug
Known issues
gotchaureq is blocking; not suitable for async runtimes without spawning a thread.
fix
Use ureq in a dedicated thread or use an async HTTP client like reqwest.
affects: >=3.0.0
Upgrade
Version history
3.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
Resources
ureq — cargo add ureq · libregistry