4 releases

0.1.3 Mar 10, 2025
0.1.2 Nov 4, 2024
0.1.1 May 28, 2024
0.1.0 Apr 8, 2024

#278 in Simulation

Download history 350/week @ 2024-12-13 285/week @ 2024-12-20 108/week @ 2024-12-27 638/week @ 2025-01-03 757/week @ 2025-01-10 716/week @ 2025-01-17 600/week @ 2025-01-24 592/week @ 2025-01-31 1183/week @ 2025-02-07 642/week @ 2025-02-14 925/week @ 2025-02-21 1204/week @ 2025-02-28 1742/week @ 2025-03-07 881/week @ 2025-03-14 1796/week @ 2025-03-21 1109/week @ 2025-03-28

5,944 downloads per month
Used in maliput

BSD-3-Clause

79KB
687 lines

maliput-sys

github crates.io docs.rs build status

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.

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.

Dependencies

~0.5–2MB
~32K SLoC