{"id":66403,"library":"io-kit-sys","title":"IOKit Sys","description":"Bindings to IOKit for macOS, providing low-level access to hardware and services.","status":"active","version":"0.5.0","language":"rust","source_language":null,"source_url":"https://github.com/jtakakura/io-kit-rs","tags":["iokit","macos","ffi","system"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nio-kit-sys = \"0.5.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add io-kit-sys","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"IOServiceGetMatchingService","correct":"use io_kit_sys::IOServiceGetMatchingService;"}],"quickstart":{"code":"use io_kit_sys::IOServiceGetMatchingService;\nuse io_kit_sys::kIOMasterPortDefault;\n\nfn main() {\n    unsafe {\n        let service = IOServiceGetMatchingService(kIOMasterPortDefault, std::ptr::null_mut());\n        println!(\"{:?}\", service);\n    }\n}","lang":"rust","description":"Gets a matching IOKit service (example with null matching dictionary)."},"warnings":[{"fix":"Ensure proper memory management and use safe wrappers if available.","message":"All functions are unsafe and require careful handling of Core Foundation types.","severity":"gotcha","affected_versions":">=0.5.0"}],"env_vars":null,"search_vec":"'access':12 'bind':3 'ffi':19 'hardwar':14 'iokit':1,5,17 'level':11 'low':10 'low-level':9 'maco':7,18 'provid':8 'servic':16 'sys':2 'system':20","created_at":"2026-06-17T17:23:16.938742+00:00","updated_at":"2026-06-17T17:23:16.938742+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/jtakakura/io-kit-rs","github":"https://github.com/jtakakura/io-kit-rs","docs":"https://docs.rs/io-kit-sys/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"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}}