5 unstable releases

0.3.1+Jolt-5.0.0 May 19, 2024
0.3.0+Jolt-5.0.0 May 19, 2024
0.2.0+Jolt-5.0.0 Apr 23, 2024
0.1.1+Jolt-5.0.0 Apr 22, 2024
0.1.0+Jolt-5.0.0 Apr 22, 2024

#2 in #jolt

Download history 5/week @ 2024-09-18 7/week @ 2024-09-25 4/week @ 2024-10-02

212 downloads per month

MIT/Apache

6MB
37K SLoC

C++ 35K SLoC // 0.1% comments Rust 837 SLoC // 0.0% comments JavaScript 205 SLoC // 0.1% comments Batch 138 SLoC Shell 60 SLoC // 0.1% comments

rolt — aspirationally safe Rust Jolt bindings

This crate contains a higher-level wrapper around JoltC, providing ergonomics comparable to using Jolt from C++.

The safety of this crate is currently provided on a best-effort basis.

For more complete and unsafe bindings, see joltc-sys.

Build Requirements

  • CMake 3.16 or newer
  • libclang, see the bindgen guide for installation steps.

Features

  • double-precision: Forwards to joltc-sys/double-precision
  • object-layer-u32: Forwards to joltc-sys/object-layer-u32

lib.rs:

Safe Rust wrapper around Jolt Physics using JoltC.

These bindings are best-effort and incomplete. The [joltc-sys][joltc_sys] crate contains the unsafe bindings that this crate uses and covers a lot more of Jolt's API.

These bindings target Jolt Physics 5.0.0. You can view the C++ documentation for this version of Jolt Physics here:

https://jrouwe.github.io/JoltPhysicsDocs/5.0.0/

Dependencies

~3.5–6.5MB
~167K SLoC