1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-08-24 14:11:44 +02:00

Add instructions for Rust and OCaml

This commit is contained in:
Anthony Scemama 2023-10-25 11:36:22 +02:00
parent 51afc129ab
commit c1c44e7d56

View File

@ -191,6 +191,34 @@ make python-test
We highly recommend to use virtual environments to avoid compatibility issues and to improve reproducibility.
## Rust API
The Rust API is available on Crates.io, so you can simply run
```
cargo add trexio
```
to your Rust project.
If you prefer to install the Rust API provided with this repository:
```
cargo add --path /path/to/trexio/rust/trexio
```
## OCaml API
The TREXIO OCaml API is available in OPAM:
```
opam install trexio
```
If you prefer to install it from this repository,
```
cd ocaml/trexio
make
opam install .
```
## Tutorial
TREXIO tutorials in Jupyter notebook format can be found in the