1. 13
  1.  

  2. 3

    Does anyone here know how the author has gone about converting SQLite’s C code into Rust? I’ve seen this done for libpq when I was looking into building PostgreSQL extensions in Rust.

    https://github.com/epilys/vfsstat.rs/blob/main/src/sqlite3ext.rs

    1. 3

      It’s right there in the first line of the file! :)

      /* automatically generated by rust-bindgen 0.59.1 */

      https://github.com/rust-lang/rust-bindgen