Registry / other / rb-sys

rb-sys

JSON →
library0.9.128rscratesunverified

Rust bindings for the CRuby API.

# Cargo.toml [dependencies] rb-sys = "0.9.128"
INSTALL
IMPORT
SIG · RB-SYS
R
rb-sys
otherrustv0.9.128
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.

rb_define_method
use rb_sys::rb_define_method;

Imports a CRuby API function (requires Ruby VM initialization).

use rb_sys::rb_define_method; fn main() { // Example: defining a Ruby method from Rust (requires Ruby VM context). unsafe { // rb_define_method(...); } }
Debug
Known issues
breakingRequires linking against CRuby; may have version-specific ABI issues.
fix
Ensure the Ruby version matches the bindings; use feature flags for version compatibility.
affects: >=0.9.0
Upgrade
Version history
0.9.128latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
rb-sys — cargo add rb-sys · libregistry