127 releases
| new 0.9.123 | Dec 18, 2025 |
|---|---|
| 0.9.117 | Aug 1, 2025 |
| 0.9.116 | Jun 2, 2025 |
| 0.9.111 | Feb 28, 2025 |
| 0.9.28 | Jul 28, 2022 |
#90 in Memory management
160,721 downloads per month
Used in 12 crates
(7 directly)
185KB
4K
SLoC
rb-sys
Autogenerated Rust bindings for Ruby. Uses the rust-bindgen crate to
generate bindings from the ruby.h header.
Notice
This is a very low-level library. If you are looking to write a gem in Rust, you should probably use
https://github.com/matsadler/magnus crate, with the rb-sys-interop feature.
If you actually need raw/unsafe bindings to libruby, then this crate is for you!
Documentation
For comprehensive documentation, please refer to the Ruby on Rust Book, which includes:
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~0–1.9MB
~37K SLoC