# maliput-sys
[](https://github.com/maliput/maliput-rs/maliput-sys)
[](https://crates.io/crates/maliput-sys)
[](https://docs.rs/maliput-sys)
[](https://github.com/maliput/maliput-rs/actions?query=branch%3Amain)
Creates `FFI` bindings using [`cxx`](https://crates.io/crates/cxx) of [maliput](https://maliput.readthedocs.org).
It relies on [maliput-sdk](https://crates.io/crates/maliput-sdk) to bring the maliput-ecosystem to Rust land.
_Note: What is maliput? Refer to https://maliput.readthedocs.org._
## Description
`maliput-sys` provides FFI bindings on top of `maliput-sdk` package.
## Usage
The `maliput` namespace is respected and positioned behind a `ffi` namespace.
For example:
| C++ Namespace | Rust Namespace |
| -------------- | ------------- |
| maliput::api::Lane | maliput_sys::api::ffi::Lane |
| maliput::api::RoadGeometry | maliput_sys::api::ffi::RoadGeometry |
| maliput::api::RoadNetwork | maliput_sys::api::ffi::RoadNetwork |
| maliput::math::Vector3 | maliput_sys::math::ffi::Vector3 |
## Examples
- Load `maliput::api::RoadNetwork` and perform some basic queries.
```
cargo run --example create_rn
```
## License
Licensed under [BSD 3-Clause](https://github.com/maliput/maliput-rs/blob/main/LICENSE).