https://github.com/danbugs/wasi-sql-demo
This repo. contains a demo. of wasi-sql in action.
https://github.com/danbugs/wasi-sql-demo
Last synced: 2 months ago
JSON representation
This repo. contains a demo. of wasi-sql in action.
- Host: GitHub
- URL: https://github.com/danbugs/wasi-sql-demo
- Owner: danbugs
- Created: 2023-03-04T00:32:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T20:36:02.000Z (over 2 years ago)
- Last Synced: 2025-03-12T03:33:40.253Z (over 1 year ago)
- Language: Rust
- Size: 587 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `wasi-sql-demo`
This repo. contains a demo. of [`wasi-sql`](https://github.com/WebAssembly/wasi-sql) in action.
## Repository Structure
- `src/`: contains an example guest implementation of the interface.
- `host/`: contains an example host implementation of the interface.
## Run
To run the demo.:
```sh
make build
make componentize
make run
```
> Note: This repo. adds a "fake-handler" export to the original `wasi-sql` proposal, just to highlight calling something from the host to the guest. This is not part of the proposal – another way to do this would be to have the host call the guest's `_start` fxn.