4 releases (breaking)

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

#440 in Text editors

35 downloads per month

MIT/Apache

18MB
268K SLoC

JavaScript 261K SLoC // 0.1% comments Rust 7K SLoC // 0.0% 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–10MB
~198K SLoC