/
Compiler says no!
/
series
/
a minimal sqlite wrapper
-
Wrapping SQLite's UTF-8 strings using Rust's FFI
October 5, 2023
Wrapping raw pointers to UTF-8 encoded text from SQLite allows offloading a lot of safety checks to the Rust compiler, but requires a lot of detailed insights into the workings of both SQLite and memory allocation.
-
Safely opening (and closing) an SQLite database
September 9, 2023
Wrapping a C library in Rust beyond the pure FFI interface is straightforward, but has a surprising amounts of details to consider.