jlrs is a crate that provides access to most of the Julia C API, it can be used to embed Julia in Rust applications and to use functionality it provides when writing ccallable functions in Rust. Currently, this crate is only tested in combination with Julia 1.6 and 1.9, but also supports Julia 1.7, 1.8, and 1.10. Using the current stable version is highly recommended. The minimum supported Rust version is currently 1.65. Julia must be installed before jlrs can be used, jlrs is compatible with Julia 1.6 up to and including Julia 1.10. The JlrsCore package must also have been installed, if this is not the case it will automatically be added when jlrs is initialized by default. jlrs has not been tested with juliaup yet on Linux and macOS.

Features

  • Access arbitrary Julia modules and their content
  • Call Julia functions, including functions that take keyword arguments
  • Handle exceptions or convert them to an error message, optionally with color
  • Include and call your own Julia code
  • Create values that Julia can use, and convert them back to Rust, from Rust
  • Access the type information and fields of values. The contents of inline and bits-union fields can be accessed directly

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow jlrs

jlrs Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of jlrs!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Julia, Rust

Related Categories

Rust Data Visualization Software, Julia Data Visualization Software

Registered

2023-11-09