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

#201 in WebAssembly

Download history 8/week @ 2024-09-02 1/week @ 2024-09-09 61/week @ 2024-09-23 141/week @ 2024-09-30 84/week @ 2024-10-07 8/week @ 2024-10-14 1/week @ 2024-11-18 8/week @ 2024-12-02 110/week @ 2024-12-09 19/week @ 2024-12-16

137 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
~209K SLoC