Registry / http-client / tokio-curl

tokio-curl

JSON →
library0.1.11rscratesunverified

An asynchronous HTTP client using futures backed by libcurl.

# Cargo.toml [dependencies] tokio-curl = "0.1.11"
INSTALL
IMPORT
SIG · TOKIO-CURL
T
tokio-curl
http-clientrustv0.1.11
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.

Session
use tokio_curl::Session;

Creates a session and performs an HTTP request.

use tokio_curl::Session; use curl::easy::Easy; fn main() { let mut session = Session::new(); let mut handle = Easy::new(); handle.url("https://example.com").unwrap(); session.perform(handle); }
Debug
Known issues
gotchaRequires tokio runtime to be running
fix
Ensure you have a tokio runtime, e.g., #[tokio::main]
affects: >=0.1.0
Upgrade
Version history
0.1.11latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
26
OpenAI (training)
1
Resources
tokio-curl — cargo add tokio-curl · libregistry