#scala #golem #js #wit #generate #bindings #cloud

bin+lib golem-scalajs-wit-bindgen

Golem Cloud CLI tool for generating Scala.js bindings from a WIT file

1 unstable release

0.0.2 May 8, 2024

#5 in #scala

Apache-2.0

33KB
661 lines

golem-scalajs-wit-bindgen

Command line interface to generate Scala.js bindings for Golem Cloud.

Installation

To install golem-scalajs-wit-bindgen you currently need to use cargo, Rust's build tool.

To get cargo on your system, we recommend to use rustup:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup install stable
rustup default stable

Then you can install golem-scalajs-wit-bindgen with the following command:

cargo install golem-scalajs-wit-bindgen

Or, you can clone this repository and install with the following command:

cargo install --path .

Running

To run golem-scalajs-wit-bindgen and get more help, you can execute the following command:

golem-scalajs-wit-bindgen --help 

Dependencies

~9–16MB
~208K SLoC