aloxide

Crates.ioaloxide
lib.rsaloxide
version0.0.8
sourcesrc
created_at2019-05-03 13:48:57.182821
updated_at2019-05-17 09:35:18.202816
descriptionA helper tool for Cargo build scripts (build.rs) for compiling and/or linking to a given Ruby library version for use in Rust code.
homepagehttps://github.com/nvzqz/aloxide
repositoryhttps://github.com/nvzqz/aloxide
max_upload_size
id131743
size79,119
Nikolai Vazquez (nvzqz)

documentation

https://docs.rs/aloxide

README

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.

Commit count: 152

cargo fmt