35 lines
843 B
TOML
35 lines
843 B
TOML
[package]
|
|
name = "fluster"
|
|
version = "0.1.0"
|
|
authors = ["Mike Welsh <mwelsh@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["console_error_panic_hook", "console_log"]
|
|
|
|
[dependencies]
|
|
bacon_rajan_cc = "0.2"
|
|
log = "0.4"
|
|
url = "1.7.2"
|
|
svg = "0.5.12"
|
|
swf = { path = "../swf-rs", version = "*" }
|
|
|
|
# Wasm32 dependencies
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = { version = "0.1.1", optional = true }
|
|
console_log = { version = "0.1", optional = true }
|
|
js-sys = "0.3.19"
|
|
wasm-bindgen = "0.2"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
wasm-bindgen-test = "0.2"
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3.19"
|
|
features = ["CanvasRenderingContext2d", "HtmlCanvasElement", "Performance", "HtmlImageElement", "Window"]
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.2" |