Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 471 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 471 Bytes

Rust to Crystal FFI Example.

This is a demo repository showing how to use Rust with Crystal.

Prerequisites:

Running Locally:

  • Clone the repository to your local machine.
  • Run cargo build; shards run to build and execute the example.

How does it work?

This example does what Crystal needs, C ABI functions. We are exposing Rust code to C ABI which is then picked up by Crystal to use.