Registry / networking / torut
library0.2.1rscratesunverified

Reasonable Tor controller written in Rust using Tokio for async communication.

# Cargo.toml [dependencies] torut = "0.2.1"
INSTALL
IMPORT
SIG · TORUT
T
torut
networkingrustv0.2.1
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.

TorController
✓ use torut::controller::TorController;

Connect to a Tor control port and authenticate.

use torut::controller::TorController; #[tokio::main] async fn main() { let mut controller = TorController::connect("127.0.0.1:9051", None).await.unwrap(); controller.authenticate("password").await.unwrap(); }
Debug
Known issues
gotchaRequires a running Tor daemon with control port enabled.
fix
Ensure Tor is running and ControlPort is configured in torrc.
affects: all
Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
42
Resources
torut — cargo add torut · libregistry