Registry / other / glib-sys

glib-sys

JSON →
library0.22.3rscratesunverified

FFI bindings to libglib-2.0

# Cargo.toml [dependencies] glib-sys = "0.22.3"
INSTALL
IMPORT
SIG · GLIB-SYS
G
glib-sys
otherrustv0.22.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GString
use glib_sys::GString;

Creates a GLib string from a Rust string.

use glib_sys::GString; fn main() { let _gstr = GString::from("hello"); }
Debug
Known issues
gotchaRequires GLib development libraries installed on the system.
fix
Install libglib2.0-dev (Ubuntu) or glib2-devel (Fedora).
affects: >=0.0.0
Upgrade
Version history
0.22.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
glib-sys — cargo add glib-sys · libregistry