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-07-23 17:32:22 +00:00
|
|
|
avm_debug = ["ruffle_core/avm_debug"]
|
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]
|
2021-07-09 15:57:50 +00:00
|
|
|
byteorder = "1.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"
|
2021-04-16 21:05:03 +00:00
|
|
|
js-sys = "0.3.50"
|
2021-01-20 02:10:35 +00:00
|
|
|
log = { version = "0.4", features = ["serde"] }
|
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 }
|
2021-05-08 03:00:22 +00:00
|
|
|
url = "2.2.2"
|
2021-04-16 21:05:03 +00:00
|
|
|
wasm-bindgen = { version = "=0.2.73", features = ["serde-serialize"] }
|
2020-12-04 18:47:20 +00:00
|
|
|
wasm-bindgen-futures = "0.4.19"
|
2020-07-08 18:26:00 +00:00
|
|
|
chrono = { version = "0.4", features = ["wasmbind"] }
|
2020-12-19 21:18:15 +00:00
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
2021-05-17 06:42:10 +00:00
|
|
|
serde = { version = "1.0.126", features = ["derive"] }
|
2021-04-27 05:17:47 +00:00
|
|
|
thiserror = "1.0"
|
2021-05-04 01:22:01 +00:00
|
|
|
base64 = "0.13.0"
|
2019-07-25 07:58:34 +00:00
|
|
|
|
|
|
|
[dependencies.ruffle_core]
|
|
|
|
path = "../core"
|
|
|
|
default-features = false
|
2021-05-03 01:50:13 +00:00
|
|
|
features = ["serde", "wasm-bindgen"]
|
2019-04-28 01:15:43 +00:00
|
|
|
|
2019-04-28 06:08:59 +00:00
|
|
|
[dependencies.web-sys]
|
2020-09-10 06:01:51 +00:00
|
|
|
version = "0.3.45"
|
2019-08-09 21:50:20 +00:00
|
|
|
features = [
|
2020-08-22 00:04:02 +00:00
|
|
|
"AddEventListenerOptions", "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",
|
2020-11-01 21:07:27 +00:00
|
|
|
"Blob", "BlobPropertyBag", "Storage", "WheelEvent", "ImageData"]
|
2019-04-28 06:08:59 +00:00
|
|
|
|
2019-04-28 01:15:43 +00:00
|
|
|
[dev-dependencies]
|
2021-04-19 06:04:28 +00:00
|
|
|
wasm-bindgen-test = "0.3.23"
|
2021-01-06 20:17:33 +00:00
|
|
|
|