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
Cut Cloud Costs with Google Compute Engine Icon
Cut Cloud Costs with Google Compute Engine

Save up to 91% with Spot VMs and get automatic sustained-use discounts. One free VM per month, plus $300 in credits.

Save on compute costs with Compute Engine. Reduce your batch jobs and workload bill 60-91% with Spot VMs. Compute Engine's committed use offers customers up to 70% savings through sustained use discounts. Plus, you get one free e2-micro VM monthly and $300 credit to start.
Try Compute Engine
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