Skip to content

oxidize-rb/rb-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e3cb56f · Jul 23, 2022
May 19, 2022
Apr 29, 2022
Jul 23, 2022
Jun 23, 2022
Jul 5, 2022
Jul 23, 2022
Jul 19, 2022
Jul 23, 2022
Jul 23, 2022
Jul 23, 2022
Jul 23, 2022
Jul 23, 2022
Jun 30, 2022
Jul 5, 2022
Jul 15, 2022
Jun 2, 2022
Jul 23, 2022
Jun 30, 2022
Jul 5, 2022
Jan 18, 2022
Jan 18, 2022
Jul 15, 2022
Jul 18, 2022

Repository files navigation

rb-sys

Crates.io Gem Join the discussion .github/workflows/ci.yml

The primary goal of rb-sys is to make building native Ruby extensions in Rust easier than it would be in C. If it's not easy, it's a bug.

Features

  • GitHub action to easily cross compile in CI
  • Integration with rake-compiler
  • Cross compilation of gems
  • Auto-generated Rust bindings for libruby classes

Supported Platforms

We support cross compilation to the following platforms:

Platform Supported
x86_64-linux
aarch64-linux
arm-linux
x86_64-darwin
arm64-darwin
x64-mingw32
x64-mingw-ucrt
x86-mingw32
x86-linux

Usage

Please see the examples to see a full example of how to use rb-sys.

Contributing

See the CONTRIBUTING.md file for information about setting up a development environment.

Bug reports and pull requests are welcome on GitHub at https://github.com/oxidize-rb/rb-sys.

License

Licensed under either of

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.