mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 18:16:22 +01:00
Add instructions for Rust and OCaml
This commit is contained in:
parent
51afc129ab
commit
c1c44e7d56
28
README.md
28
README.md
@ -191,6 +191,34 @@ make python-test
|
|||||||
We highly recommend to use virtual environments to avoid compatibility issues and to improve reproducibility.
|
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
|
## Tutorial
|
||||||
|
|
||||||
TREXIO tutorials in Jupyter notebook format can be found in the
|
TREXIO tutorials in Jupyter notebook format can be found in the
|
||||||
|
Loading…
Reference in New Issue
Block a user