Skip to content

Commit

Permalink
Add instructions for Rust and OCaml
Browse files Browse the repository at this point in the history
  • Loading branch information
scemama committed Oct 25, 2023
1 parent 51afc12 commit c1c44e7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1c44e7

Please sign in to comment.