Registry / networking / tor-proto

tor-proto

JSON →
library0.42.0rscratesunverified

Asynchronous client-side implementation of the central Tor network protocols.

# Cargo.toml [dependencies] tor-proto = "0.42.0"
INSTALL
IMPORT
SIG · TOR-PROTO
T
tor-proto
networkingrustv0.42.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.

Client
use tor_proto::Client;

Create a Tor client and connect to the network.

use tor_proto::Client; #[tokio::main] async fn main() { let client = Client::new().await.unwrap(); println!("Connected to Tor"); }
Debug
Known issues
gotchaRequires an async runtime like Tokio.
fix
Add tokio as a dependency and use #[tokio::main] or another async runtime.
affects: >=0.1.0
Upgrade
Version history
0.42.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
tor-proto — cargo add tor-proto · libregistry