40 lines
741 B
TOML
40 lines
741 B
TOML
[package]
|
|
name = "rdraught-wasm"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
version.workspace = true
|
|
|
|
# [lib]
|
|
# crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
rdraught.workspace = true
|
|
rdraught-ui-common.workspace = true
|
|
wasm-bindgen.workspace = true
|
|
console_error_panic_hook.workspace = true
|
|
rmath.workspace = true
|
|
base64.workspace = true
|
|
|
|
|
|
[dependencies.web-sys]
|
|
workspace = true
|
|
features = [
|
|
'DomMatrix',
|
|
'CanvasRenderingContext2d',
|
|
'CssStyleDeclaration',
|
|
'Document',
|
|
'Element',
|
|
'EventTarget',
|
|
'HtmlCanvasElement',
|
|
'HtmlElement',
|
|
'MouseEvent',
|
|
'Node',
|
|
'HtmlImageElement',
|
|
'SvgImageElement',
|
|
'Window',
|
|
]
|