You must have rustc
and cargo
to use this package.
Rustup is the recommended install method.
This is a work in progress so there are not many features right now.
Take a look at test/runtests.jl
for usage examples.
Current:
- Compile a Rust code string and return a
dlopen
d library - Translate fully-typed methods to Rust with a macro that calls
code_typed
Future:
- Rust string support
- Replace common Julia method patterns with their Rust equivalents
- Parameters => Generics
For a list of supported types call:
keys(Rust.AST.RUST_TYPES)
For a list of supported functions call:
keys(Rust.AST.RUST_FUNCTIONS)