This repository is a collection of sample projects demonstrating how to call Rust code from Julia.
CalcPi.jl/- Julia package for calling Rust-implemented Monte Carlo π calculation libraryCalcPi.jl/deps/calcpi-rs/- Rust library implementing π calculation using the Monte Carlo method (embedded in CalcPi.jl)
cargo_example/- Example of a Rust project using Cargorustc_example/- Example of a Rust project using rustc directly
- Julia 1.10 or later
- Rust toolchain (rustc, cargo)
- RustToolChain.jl package
using Pkg
Pkg.add("RustToolChain")Please refer to the README of each sample project.
For license information about this project, please refer to the README in each subdirectory.