watson 0.0.10

a no_std web assembly loader
Documentation

watson

a hyper minimalistic no_std + alloc web assembly parser for Rust.

coverage is currently small

  • custom section
  • type section
  • import section
  • function section
  • table section
  • memory section
  • global section
  • export section
  • start section
  • element section
  • code section
  • data section
[dependencies]
watson = "0"

Usage

use  watson::*;

let program = Program.load(&bytes_of_wasm)?;
for s in program.sections {
   match s {
      CodeSection(code)=> ...,
      ...
   }
}
...

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in watson by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.