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

#176 in WebAssembly

Download history 1/week @ 2024-11-15 5/week @ 2024-11-29 56/week @ 2024-12-06 72/week @ 2024-12-13 12/week @ 2024-12-20 11/week @ 2024-12-27 14/week @ 2025-01-03 65/week @ 2025-01-10 3/week @ 2025-01-17 18/week @ 2025-01-24 4/week @ 2025-01-31 7/week @ 2025-02-07 28/week @ 2025-02-14 44/week @ 2025-02-21 20/week @ 2025-02-28

101 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