#build-dependencies #ruby

aloxide

A helper tool for Cargo build scripts (build.rs) for compiling and/or linking to a given Ruby library version for use in Rust code

8 releases

✓ Uses Rust 2018 edition

0.0.8 May 17, 2019
0.0.7 May 16, 2019

#24 in Build Utils

Download history 30/week @ 2019-05-03 124/week @ 2019-05-10

58 downloads per month
Used in 2 crates (1 directly)

MIT/Apache

66KB
1.5K SLoC

aloxide banner travis badge crates.io downloads API docs

Compile Ruby as a Rust build.rs step... and eventually more (see goals).

Goals

The plan for aloxide is to:

  • Compile Ruby for each supported platform

  • Link to Ruby's library in a crate's build.rs file

  • Make pre-compiled Rubies that are suitable for various versions of the same operating system

  • Cross-compile Ruby from one platform to another

    • Compile for {i686,x86_64}-pc-windows-gnu from Linux or macOS

    • Compile for {i686,x86_64}-unknown-linux-gnu from macOS or Windows

  • Create a command-line interface (CLI) that downloads Ruby's sources and compiles them, or downloads pre-compiled binaries/libraries, for each supported platform

Supported Platforms

See issue #1 for more details.

  • Linux

  • macOS

  • Windows

Cross-Compiling

Work in progress...

License

This project is released under either:

at your choosing.

Dependencies

~2MB
~49K SLoC