Expand description
C foreign function interface (FFI) from cbindgen.
All exported functions route through abort_on_panic
so that any panic inside the
Rust implementation aborts immediately instead of unwinding across the foreign boundary.
Unwinding into C/Python is undefined behaviour, so this keeps the existing fail-fast
semantics while avoiding subtle stack corruption during debugging.
Modulesยง
- cvec
- Utilities for transferring heap-allocated Rust
Vec<T>
values across an FFI boundary. - datetime
- Thin FFI wrappers around the date/time conversion utilities in
nautilus-core
. - parsing
- Helper functions that convert common C types (primarily UTF-8 encoded
char *
pointers) into the Rust data structures used throughout NautilusTrader. - string
- Utilities for safely moving UTF-8 strings across the FFI boundary.
- uuid
- FFI helpers for the
UUID4
wrapper type.