add example crates

This commit is contained in:
2024-09-29 18:23:50 +02:00
parent da63980914
commit f116e435ec
15 changed files with 782 additions and 3 deletions

5
src/examples.md Normal file
View File

@@ -0,0 +1,5 @@
There are two example crates, a binary and a library one:
- [Example Binary Crate](https://github.com/bytedream/litbwraw/tree/main/example-binary)
- [Example Library Crate](https://github.com/bytedream/litbwraw/tree/main/example-library)
Each directory has a `nodejs.js` file that can be executed with nodejs and runs the compiled code.