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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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