| Crates.io | arti-ureq |
| lib.rs | arti-ureq |
| version | 0.34.0 |
| created_at | 2025-05-01 19:09:26.910683+00 |
| updated_at | 2025-08-28 21:19:50.177348+00 |
| description | Library to use Arti in the ureq http client |
| homepage | |
| repository | https://gitlab.torproject.org/tpo/core/arti.git/ |
| max_upload_size | |
| id | 1656769 |
| size | 194,939 |
A library to use Arti in combination with the ureq HTTP client.
Use cargo add arti-ureq to add the dependency to your project.
// Include the library.
use arti_ureq;
// Retrieve a `ureq::Agent`.
let ureq_agent = arti_ureq::default_agent().expect("Failed to create agent.");
// Make the request.
let request = ureq_agent
.get("https://check.torproject.org/api/ip")
.call()
.expect("Failed to make request.");
arti-ureq uses version 3.0 of ureq. Use arti_ureq::ureq to access the ureq crate.
View more examples in the examples directory.
tokio (default) -- Build with Tokio support.async-std -- Build with async-std support.rustls (default) -- Build with Rustls support.native-tls -- Build with native-tls support.License: MIT OR Apache-2.0