Yes. I would like to use the code as a library from something other than js/ts.
You can use it in Rust if you like. I've used pglite through wasmer before. Also [pglite-oxide](https://lib.rs/crates/pglite-oxide) is pretty usable.
Sounds you only need to create the APIs for calling into WASM if so, so as long as your language of choice can do that, you're good to go.
So compile it and use it?
You can use it in Rust if you like. I've used pglite through wasmer before. Also [pglite-oxide](https://lib.rs/crates/pglite-oxide) is pretty usable.