ruffle/web/Cargo.toml

48 lines
1.6 KiB
TOML
Raw Normal View History

2019-04-28 01:15:43 +00:00
[package]
2019-05-08 16:46:19 +00:00
name = "ruffle_web"
2019-04-28 01:15:43 +00:00
version = "0.1.0"
authors = ["Mike Welsh <mwelsh@gmail.com>"]
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
2019-04-28 06:08:59 +00:00
[features]
default = ["console_error_panic_hook", "console_log", "webgl"]
2020-02-26 08:47:15 +00:00
lzma = ["ruffle_core/lzma"]
canvas = ["ruffle_render_canvas"]
webgl = ["ruffle_render_webgl"]
2019-04-28 06:08:59 +00:00
2019-04-28 01:15:43 +00:00
[dependencies]
byteorder = "1.3.4"
2019-04-28 01:15:43 +00:00
console_error_panic_hook = { version = "0.1.1", optional = true }
console_log = { version = "0.2", optional = true }
2019-05-24 17:25:03 +00:00
fnv = "1.0.3"
generational-arena = "0.2.7"
js-sys = "0.3.25"
2019-05-03 02:11:47 +00:00
log = "0.4"
ruffle_render_canvas = { path = "../render/canvas", optional = true }
ruffle_web_common = { path = "common" }
ruffle_render_webgl = { path = "../render/webgl", optional = true }
url = "2.1.1"
2020-01-06 20:40:32 +00:00
wasm-bindgen = "0.2.57"
wasm-bindgen-futures = "0.4.4"
[dependencies.ruffle_core]
path = "../core"
default-features = false
features = ["puremp3"]
2019-04-28 01:15:43 +00:00
2019-04-28 06:08:59 +00:00
[dependencies.web-sys]
version = "0.3.34"
features = [
2020-01-06 20:40:32 +00:00
"AudioBuffer", "AudioBufferSourceNode", "AudioParam", "AudioProcessingEvent", "AudioContext", "AudioDestinationNode",
2019-10-30 21:06:00 +00:00
"AudioNode", "CanvasRenderingContext2d", "ChannelMergerNode", "ChannelSplitterNode", "CssStyleDeclaration", "Document",
2019-12-23 20:15:06 +00:00
"Element", "Event", "EventTarget", "GainNode", "HtmlCanvasElement", "HtmlElement", "HtmlImageElement", "MouseEvent",
"Navigator", "Node", "Performance", "PointerEvent", "ScriptProcessorNode", "UiEvent", "Window", "Location", "HtmlFormElement",
"KeyboardEvent", "Path2d", "CanvasGradient", "CanvasPattern", "SvgMatrix", "SvgsvgElement", "Response", "Request", "RequestInit",
"Blob", "BlobPropertyBag"]
2019-04-28 06:08:59 +00:00
2019-04-28 01:15:43 +00:00
[dev-dependencies]
wasm-bindgen-test = "0.3.7"