That's a great question, and one probably best answered over on pgx's GitHub page.
But! I plan on adding a command to "cargo-pgx" to package up the extension for you into a directory structure (or tarball, maybe).
The idea is that you'd just run:
cargo pgx package
And it would just build a --release library, and create the proper directory structure (based on what pg_config) says for the shared library and the associated .sql.
I actually need this ASAP for supporting ZomboDB proper, so... Coming Soon!
But! I plan on adding a command to "cargo-pgx" to package up the extension for you into a directory structure (or tarball, maybe).
The idea is that you'd just run: cargo pgx package
And it would just build a --release library, and create the proper directory structure (based on what pg_config) says for the shared library and the associated .sql.
I actually need this ASAP for supporting ZomboDB proper, so... Coming Soon!