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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
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