5 releases (breaking)

0.5.0 Oct 5, 2024
0.4.0 Sep 2, 2023
0.3.0 Mar 20, 2022
0.2.0 Jun 9, 2021
0.1.0 Aug 20, 2020

#210 in WebAssembly

41 downloads per month
Used in dot_ix_playground

MIT/Apache

32MB
432K SLoC

JavaScript 425K SLoC // 0.1% comments Rust 7K SLoC // 0.0% comments Just 15 SLoC // 0.3% comments

rust-monaco

Crate Info API Documentation

Rust WASM bindings for the Monaco Editor using wasm-bindgen.

Cargo Features

  • "api" (default feature) - Activate a more ergonomic Rust API. See monaco::api
  • "workers" (default feature) - Include the language web workers. If not set you will have to provide them manually or accept a heavy performance penalty.
  • "yew-components" - Enable Yew components. See monaco::yew

Examples

See the examples directory.


lib.rs:

Rust WASM bindings for the Monaco Editor.

Dependencies

~7–16MB
~210K SLoC