<div>
<div>
<img align="left" src="./tinywasm.png" width="100px">
</div>
<h1>TinyWasm</h1>
A tiny WebAssembly Runtime written in Rust
</div>
<br>
[](https://docs.rs/tinywasm) [](https://crates.io/crates/tinywasm) [](./LICENSE-APACHE)
> [!WARNING]
> This project is still in development and is not ready for use.
## Features
- **`std`**\
Enables the use of `std` and `std::io` for parsing from files and streams. This is enabled by default.
- **`logging`**\
Enables logging using the `log` crate. This is enabled by default.
- **`parser`**\
Enables the `tinywasm-parser` crate. This is enabled by default.
# 🎯 Goals
* Interpreted Runtime (no JIT)
* Self-hosted (can run itself compiled to WebAssembly)
* No unsafe code
* Works on `no_std` (with `alloc` the feature and nightly compiler)
* Fully support WebAssembly MVP (1.0)
* Low Memory Usage (less than 10kb)
* Fast Startup Time
* Preemptive multitasking support
# 📄 License
Licensed under either of [Apache License, Version 2.0](./LICENSE-APACHE) or [MIT license](./LICENSE-MIT) at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in TinyWasm by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.