buhong/README.md

33 lines
752 B
Markdown
Raw Normal View History

2026-11-08 01:41:23 +08:00
<<<<<<< HEAD
2026-11-08 01:54:15 +08:00
# buhong
2026-11-08 01:41:23 +08:00
a Taigi processing tool
=======
# Buhong - a Taigi toolkit
## Requirements
- libssl-dev: 3.0.13
- rust: 1.99.1
- cargo: 1.99.1
- wasm-pack: 0.15.1
- only if you want to compile it to browser-runnable WASM code. It's recommended to install with
`cargo install wasm-pack`
## How to build the wasm version
- To build the browser-runnable version, run `wasm-pack build --target web` inside the project directory.
- to use in the `.html` file, insert the code:
```
<script type="module">
import init, { f } from "./pkg/buhong.js"; // f is just an example
await init();
f(x, y);
</script>
```
## Other documents
- For the implement details of the tool, see `./docs`.
>>>>>>> c4d520c (initial commit)