#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

#26 in Build Utils

Download history 24/week @ 2019-04-30 69/week @ 2019-05-07 100/week @ 2019-05-14 38/week @ 2019-05-21 15/week @ 2019-05-28 16/week @ 2019-06-04 16/week @ 2019-06-11 34/week @ 2019-06-18 82/week @ 2019-06-25 24/week @ 2019-07-02 40/week @ 2019-07-09 9/week @ 2019-07-16

84 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
~45K SLoC