This crate requires a nightly (unstable, experimental) compiler version. To switch to it, you must have Rust installed via Rustup, and run:

rustup default nightly

Run rustup default stable to switch back.

Adding mononoke_api library as a dependency

Run this command in a terminal, in your project's directory:

cargo add mononoke_api --git https://github.com/facebookexperimental/eden.git

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

mononoke_api = { git = "https://github.com/facebookexperimental/eden.git" }

The mononoke_api library will be automatically available globally.

Back to the crate overview.