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"
|
2020-05-26 13:57:28 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
description = "Web (WASM) bindings to the Ruffle flash player"
|
|
|
|
readme = "README.md"
|
|
|
|
homepage = "https://ruffle.rs"
|
|
|
|
repository = "https://github.com/ruffle-rs/ruffle/"
|
|
|
|
publish = false # This crate is useless alone, people should use the npm package
|
2019-04-28 01:15:43 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
2019-04-28 06:08:59 +00:00
|
|
|
[features]
|
2020-05-04 15:10:53 +00:00
|
|
|
default = ["canvas", "console_error_panic_hook", "console_log", "webgl"]
|
2020-02-26 08:47:15 +00:00
|
|
|
lzma = ["ruffle_core/lzma"]
|
2020-05-02 09:59:13 +00:00
|
|
|
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]
|
2020-02-07 13:42:03 +00:00
|
|
|
byteorder = "1.3.4"
|
2019-04-28 01:15:43 +00:00
|
|
|
console_error_panic_hook = { version = "0.1.1", optional = true }
|
2020-04-21 07:09:37 +00:00
|
|
|
console_log = { version = "0.2", optional = true }
|
2020-05-14 16:22:54 +00:00
|
|
|
fnv = "1.0.7"
|
2020-05-18 18:41:50 +00:00
|
|
|
generational-arena = "0.2.8"
|
2019-07-25 07:58:34 +00:00
|
|
|
js-sys = "0.3.25"
|
2019-05-03 02:11:47 +00:00
|
|
|
log = "0.4"
|
2020-05-02 09:59:13 +00:00
|
|
|
ruffle_render_canvas = { path = "../render/canvas", optional = true }
|
2020-04-23 22:04:07 +00:00
|
|
|
ruffle_web_common = { path = "common" }
|
2020-05-02 09:59:13 +00:00
|
|
|
ruffle_render_webgl = { path = "../render/webgl", optional = true }
|
2020-01-09 10:40:09 +00:00
|
|
|
url = "2.1.1"
|
2020-01-06 20:40:32 +00:00
|
|
|
wasm-bindgen = "0.2.57"
|
2020-05-28 14:06:27 +00:00
|
|
|
wasm-bindgen-futures = "0.4.13"
|
2019-07-25 07:58:34 +00:00
|
|
|
|
|
|
|
[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]
|
2020-05-28 16:07:39 +00:00
|
|
|
version = "0.3.40"
|
2019-08-09 21:50:20 +00:00
|
|
|
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",
|
2020-01-12 22:06:27 +00:00
|
|
|
"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]
|
2020-05-28 16:42:37 +00:00
|
|
|
wasm-bindgen-test = "0.3.13"
|