#wasm-bindgen #bindings #typescript #wasm-bindings #javascript #generated-bindings

ts-bindgen-rt

Runtime dependency for ts-bindgen. Supports wasm-bindgen interfaces autogenerated from typescript definitions

4 releases (breaking)

0.5.0 Mar 12, 2022
0.4.0 Feb 21, 2022
0.2.0 Feb 8, 2022
0.1.0 Jan 31, 2022

#1473 in WebAssembly

MIT/Apache

33KB
931 lines

ts-bindgen-rt   CI Latest Version Rust Documentation Crates.io

ts-bindgen-rt contains the runtime that generated bindings depend on for ts-bindgen.

For usage information about ts-bindgen, check out the ts-bindgen docs, online playground, or repo.

Status

ts-bindgen is currently alpha software and it should be expected that any or all of the following might change significantly from version to version:

  1. Generated bindings
  2. Exposed interfaces
  3. Internal implementation

There are currently known issues that will prevent generation of reasonable bindings for some typescript idioms.

We welcome contributions and issues!

Overview

ts-bindgen-rt provides the runtime library that our generated bindings depend on, primarily for serialization and deserialization between javascript (JsValues and rust).

License

Copyright 2022 Adam Berger, Ratchet Designs.

ts-bindgen is licensed under either of the MIT or Apache licenses, at your option.

Credit

ts-bindgen is crafted thoughtfully by Ratchet Designs

Dependencies

~1.3–2.5MB
~48K SLoC