{"id":59055,"library":"rtnetlink","title":"Rtnetlink","description":"Manipulate Linux networking resources via netlink, providing a safe Rust interface.","status":"active","version":"0.21.0","language":"rust","source_language":null,"source_url":"https://github.com/rust-netlink/rtnetlink","tags":["netlink","linux","networking","async"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrtnetlink = \"0.21.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rtnetlink","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"new_connection","correct":"use rtnetlink::new_connection;"}],"quickstart":{"code":"use rtnetlink::new_connection;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let (connection, handle, _) = new_connection()?;\n    tokio::spawn(connection);\n    let links = handle.link().get().execute().await?;\n    println!(\"Links: {:?}\", links);\n    Ok(())\n}","lang":"rust","description":"Lists network links using rtnetlink with an async runtime."},"warnings":[{"fix":"Add tokio as a dependency and use #[tokio::main] or similar.","message":"Requires an async runtime like Tokio to drive the connection.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'async':16 'interfac':12 'linux':3,14 'manipul':2 'netlink':7,13 'network':4,15 'provid':8 'resourc':5 'rtnetlink':1 'rust':11 'safe':10 'via':6","created_at":"2026-06-16T16:48:41.117659+00:00","updated_at":"2026-06-16T16:48:41.117659+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/rust-netlink/rtnetlink","github":"https://github.com/rust-netlink/rtnetlink","docs":"https://docs.rs/rtnetlink/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"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}}