| Crates.io | nord-proxy |
| lib.rs | nord-proxy |
| version | 0.1.0 |
| created_at | 2026-01-12 16:57:15.378711+00 |
| updated_at | 2026-01-12 16:57:15.378711+00 |
| description | A Rust crate for retrieving NordVPN HTTP and SOCKS5 proxy endpoints for use with reqwest. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2038190 |
| size | 69,609 |
nord-proxy is a Rust crate for retrieving NordVPN proxy endpoints (SOCKS5 and HTTP/HTTPS)
and integrating them with reqwest.
use nord_proxy::{Proxy, Socks5, ProxyTrait};
// SOCKS5 proxies
let socks5 = Socks5::new().await;
let socks5_proxies = socks5.proxies("username", "password");
// HTTPS proxies
let proxy = Proxy::new().await;
let http_proxies = proxy.proxies("username", "password");
// Example: use with reqwest
let proxy_info = &http_proxies[0];
let client = reqwest::Client::builder()
.proxy(reqwest::Proxy::all(proxy_info.url())?)
.build()?;