{"id":72499,"library":"c-ares-resolver","title":"c-ares-resolver","description":"An asynchronous DNS resolver backed by c-ares, providing non-blocking DNS lookups.","status":"active","version":"11.0.0","language":"rust","source_language":null,"source_url":"https://github.com/dimbleby/c-ares-resolver","tags":["dns","async","resolver","c-ares"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nc-ares-resolver = \"11.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add c-ares-resolver","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Resolver","correct":"use c_ares_resolver::Resolver;"}],"quickstart":{"code":"use c_ares_resolver::Resolver;\n\nfn main() {\n    let resolver = Resolver::new().unwrap();\n    println!(\"DNS resolver created\");\n}","lang":"rust","description":"Minimal usage of the c-ares-resolver crate to create a DNS resolver."},"warnings":[{"fix":"Use with an async runtime like tokio or async-std.","message":"Requires async runtime (e.g., tokio) to function; not usable in synchronous contexts.","severity":"gotcha","affected_versions":">=11.0.0"}],"env_vars":null,"search_vec":"'are':3,13,25 'async':21 'asynchron':6 'back':9 'block':17 'c':2,12,24 'c-are':11,23 'c-ares-resolv':1 'dns':7,18,20 'lookup':19 'non':16 'non-block':15 'provid':14 'resolv':4,8,22","created_at":"2026-06-17T18:39:44.376780+00:00","updated_at":"2026-06-17T18:39:44.376780+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/dimbleby/c-ares-resolver","github":"https://github.com/dimbleby/c-ares-resolver","docs":"https://docs.rs/c-ares-resolver/","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-17","next_check":"2026-12-14","install_tag":null}}