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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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