[package]
edition = "2018"
name = "monaco"
version = "0.7.0"
authors = ["Simon Berger <simon@siku2.io>"]
build = false
exclude = [
"/build/",
"/ts2rs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust WASM bindings for the Monaco Editor"
readme = "README.md"
keywords = [
"monaco",
"wasm-bindgen",
]
categories = [
"api-bindings",
"text-editors",
"web-programming",
"wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/siku2/rust-monaco"
[package.metadata.docs.rs]
all-features = true
[features]
api = []
default = [
"api",
"workers",
]
workers = []
yew-components = [
"api",
"yew",
]
[lib]
name = "monaco"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.js-sys]
version = "0.3"
[dependencies.paste]
version = "1.0"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.web-sys]
version = "0.3"
features = [
"Blob",
"HtmlElement",
"KeyboardEvent",
"MouseEvent",
"Url",
"Window",
"Worker",
]
[dependencies.yew]
version = "0.23"
features = ["csr"]
optional = true