#astrodynamics #astronomy #rebound #n-body #aerospace

sys rebound-sys

Low-level bindings to the REBOUND C library for N-body simulations

3 unstable releases

0.2.0 Dec 15, 2023
0.1.1 Jul 10, 2023
0.1.0 Jul 10, 2023

#331 in Simulation

34 downloads per month
Used in assist-sys

Custom license

1MB
18K SLoC

C 18K SLoC // 0.1% comments Rust 103 SLoC

rebound-sys

This is a Rust crate which provides bindings for REBOUND, an N-body simulator.

The generated bindings are currently only for a statically linked version of librebound. This isn't for a deep reason; it's just that I expect that dynamically linking to rebound is pretty unusual, and it's easier to provide a statically linked sys crate.

The bindings are currently for Rebound version 4.0.1

Dependencies

~0–2.1MB
~44K SLoC