forked from siku2/rust-monaco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (38 loc) · 981 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "monaco"
version = "0.3.0"
authors = ["Simon Berger <[email protected]>"]
edition = "2018"
description = "Rust WASM bindings for the Monaco Editor"
readme = "README.md"
repository = "https://github.com/siku2/rust-monaco"
license = "MIT OR Apache-2.0"
keywords = ["monaco", "wasm-bindgen"]
categories = ["api-bindings", "text-editors", "web-programming", "wasm"]
exclude = ["/build/", "/ts2rs/"]
[package.metadata.docs.rs]
all-features = true
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["api", "workers"]
api = []
workers = []
yew-components = ["api", "yew"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
js-sys = "0.3"
paste = "1.0"
wasm-bindgen = "0.2"
yew = { version = "0.20", features = ["csr"], optional = true }
[dependencies.web-sys]
version = "0.3"
features = [
"Blob",
"HtmlElement",
"KeyboardEvent",
"MouseEvent",
"Url",
"Window",
"Worker"
]