{"id":59121,"library":"tokio-socks","title":"Tokio Socks","description":"Asynchronous SOCKS proxy support for Rust using Tokio.","status":"active","version":"0.5.3","language":"rust","source_language":null,"source_url":"https://github.com/sticnarf/tokio-socks","tags":["socks","proxy","async","tokio","networking"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntokio-socks = \"0.5.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add tokio-socks","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Socks5Stream","correct":"use tokio_socks::tcp::Socks5Stream;"}],"quickstart":{"code":"use tokio_socks::tcp::Socks5Stream;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let stream = Socks5Stream::connect(\"127.0.0.1:1080\", \"example.com:80\", None).await?;\n    println!(\"Connected via SOCKS5\");\n    Ok(())\n}","lang":"rust","description":"Connects to a remote host through a SOCKS5 proxy."},"warnings":[{"fix":"Ensure you are running within a Tokio runtime (e.g., #[tokio::main]).","message":"Requires Tokio runtime; will panic if used outside async context.","severity":"gotcha","affected_versions":">=0.5.0"}],"env_vars":null,"search_vec":"'async':13 'asynchron':3 'network':15 'proxi':5,12 'rust':8 'sock':2,4,11 'support':6 'tokio':1,10,14 'use':9","created_at":"2026-06-16T16:51:10.610487+00:00","updated_at":"2026-06-16T16:51:10.610487+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/sticnarf/tokio-socks","github":"https://github.com/sticnarf/tokio-socks","docs":"https://docs.rs/tokio-socks/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}