diff --git a/lib/binding_rust/README.md b/lib/binding_rust/README.md index 6a7bfc70..0ee4ba3f 100644 --- a/lib/binding_rust/README.md +++ b/lib/binding_rust/README.md @@ -36,6 +36,12 @@ fn main() { } ``` +Add the `cc` crate to your `Cargo.toml` under `[build-dependencies]`: +```toml +[build-dependencies] +cc="*" +``` + To then use languages from rust, you must declare them as `extern "C"` functions and invoke them with `unsafe`. Then you can assign them to the parser. ```rust