{"id":57509,"library":"glib-sys","title":"GLib Sys","description":"FFI bindings to libglib-2.0","status":"active","version":"0.22.3","language":"rust","source_language":null,"source_url":"https://github.com/gtk-rs/gtk-rs-core","tags":["glib","ffi","bindings","system"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nglib-sys = \"0.22.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add glib-sys","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"GString","correct":"use glib_sys::GString;"}],"quickstart":{"code":"use glib_sys::GString;\n\nfn main() {\n    let _gstr = GString::from(\"hello\");\n}","lang":"rust","description":"Creates a GLib string from a Rust string."},"warnings":[{"fix":"Install libglib2.0-dev (Ubuntu) or glib2-devel (Fedora).","message":"Requires GLib development libraries installed on the system.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'-2.0':7 'bind':4,10 'ffi':3,9 'glib':1,8 'libglib':6 'sys':2 'system':11","created_at":"2026-06-16T15:45:03.503396+00:00","updated_at":"2026-06-16T15:45:03.503396+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://gtk-rs.org/","github":"https://github.com/gtk-rs/gtk-rs-core","docs":"https://docs.rs/glib-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-16","next_check":"2026-12-13","install_tag":null}}