Crates.io | maliput-sys |
lib.rs | maliput-sys |
version | 0.1.2 |
source | src |
created_at | 2024-04-08 22:02:10.306157 |
updated_at | 2024-11-04 21:29:35.720618 |
description | FFI Rust bindings for maliput |
homepage | |
repository | https://github.com/maliput/maliput-rs |
max_upload_size | |
id | 1201533 |
size | 173,927 |
Creates FFI
bindings using cxx
of maliput.
It relies on maliput-sdk to bring the maliput-ecosystem to Rust land.
Note: What is maliput? Refer to https://maliput.readthedocs.org.
maliput-sys
provides FFI bindings on top of maliput-sdk
package.
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 |
maliput::api::RoadNetwork
and perform some basic queries.
cargo run --example create_rn
Licensed under BSD 3-Clause.