Rustler example. Implements file IO in a NIF.
See the codeReal world example for Rustler that shows packaging, elixir-side supporting code, error handling, and advanced usage of many Rustler features.
Note that this is just meant to be an example. Use at your own risk.
Elixir
55.8%
Rust
44.2%
Rustler example. Implements file IO in a NIF.
See the codeReal world example for Rustler that shows packaging, elixir-side supporting code, error handling, and advanced usage of many Rustler features.
Note that this is just meant to be an example. Use at your own risk.
Elixir
55.8%
Rust
44.2%