| Crates.io | opengauss_bindgen |
| lib.rs | opengauss_bindgen |
| version | 0.1.0 |
| created_at | 2023-05-18 06:23:28.453858+00 |
| updated_at | 2023-05-18 06:23:28.453858+00 |
| description | Rust library for writing WebAssembly-powered user-defined functions for openGauss |
| homepage | |
| repository | https://gitee.com/Nelson-He/opengauss_bindgen/ |
| max_upload_size | |
| id | 867500 |
| size | 5,324 |
This repository contains a helper library for coding WebAssembly-powered user-defined functions for openGauss.
*[note]: This repository is forked and modified based on libsql_bindgen
Marking a native Rust function with #[opengauss_bindgen] macro
and compiling it to wasm32-unknown-unknown target
is enough to produce a user-defined function definition
callable directly from openGauss
Try it yourself:
cd examples/encrypt_decrypt
./gen_wasm.sh
There are also advanced examples that require WasmEdge to run: