ruffle/web/Cargo.toml

85 lines
3.0 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"
2020-05-26 13:57:28 +00:00
description = "Web (WASM) bindings to the Ruffle flash player"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true
2020-05-26 13:57:28 +00:00
publish = false # This crate is useless alone, people should use the npm package
2019-04-28 01:15:43 +00:00
[lints]
workspace = true
2019-04-28 01:15:43 +00:00
[lib]
crate-type = ["cdylib", "rlib"]
2019-04-28 06:08:59 +00:00
[features]
2024-01-16 21:35:43 +00:00
default = ["canvas", "console_error_panic_hook", "webgl", "wgpu-webgl", "webgpu"]
2021-04-21 07:22:42 +00:00
# core features
2020-07-23 17:32:22 +00:00
avm_debug = ["ruffle_core/avm_debug"]
2021-04-21 07:22:42 +00:00
lzma = ["ruffle_core/lzma"]
jpegxr = ["ruffle_core/jpegxr"]
2021-04-21 07:22:42 +00:00
# web features
canvas = ["ruffle_render_canvas"]
webgl = ["ruffle_render_webgl"]
webgpu = ["ruffle_render_wgpu"]
wgpu-webgl = ["ruffle_render_wgpu", "ruffle_render_wgpu/webgl"]
profiling = []
2019-04-28 06:08:59 +00:00
2019-04-28 01:15:43 +00:00
[dependencies]
console_error_panic_hook = { version = "0.1.7", optional = true }
slotmap = { workspace = true }
js-sys = { workspace = true }
tracing = { workspace = true, features = ["log"] }
2023-11-20 01:54:50 +00:00
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["registry"] }
2023-10-31 22:01:51 +00:00
tracing-log = "0.2.0"
tracing-wasm = "0.2.1"
ruffle_render_canvas = { path = "../render/canvas", optional = true }
ruffle_web_common = { path = "common" }
ruffle_render = { path = "../render" }
ruffle_render_webgl = { path = "../render/webgl", optional = true }
ruffle_render_wgpu = { path = "../render/wgpu", optional = true }
ruffle_video_software = { path = "../video/software" }
2024-04-04 12:02:07 +00:00
url = { workspace = true }
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = "0.4.42"
2024-03-01 11:53:55 +00:00
serde-wasm-bindgen = "0.6.5"
chrono = { workspace = true, features = ["wasmbind", "clock"] }
2021-09-17 07:35:13 +00:00
getrandom = { version = "0.2", features = ["js"] }
2024-04-04 12:00:14 +00:00
serde = { workspace = true, features = ["derive"] }
thiserror = { workspace = true }
2024-03-02 07:36:21 +00:00
base64 = "0.22.0"
async-channel = { workspace = true }
2023-12-25 06:27:55 +00:00
futures-util = { version = "0.3.30", features = ["sink"] }
2023-12-11 10:26:39 +00:00
gloo-net = { version = "0.5.0", default-features = false, features = ["websocket"] }
2024-03-22 09:57:29 +00:00
rfd = { version = "0.14.1", features = ["file-handle-inner"] }
2024-01-29 06:47:01 +00:00
wasm-streams = "0.4.0"
futures = { workspace = true }
build(deps): bump the cargo-minor group with 6 updates Bumps the cargo-minor group with 6 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.4` | `4.5.7` | | [url](https://github.com/servo/rust-url) | `2.5.0` | `2.5.1` | | [linkme](https://github.com/dtolnay/linkme) | `0.3.26` | `0.3.27` | | [regex](https://github.com/rust-lang/regex) | `1.10.4` | `1.10.5` | | [zip](https://github.com/zip-rs/zip2) | `2.1.2` | `2.1.3` | Updates `clap` from 4.5.4 to 4.5.7 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.4...v4.5.7) Updates `url` from 2.5.0 to 2.5.1 - [Release notes](https://github.com/servo/rust-url/releases) - [Commits](https://github.com/servo/rust-url/compare/v2.5.0...v2.5.1) Updates `linkme` from 0.3.26 to 0.3.27 - [Release notes](https://github.com/dtolnay/linkme/releases) - [Commits](https://github.com/dtolnay/linkme/compare/0.3.26...0.3.27) Updates `regex` from 1.10.4 to 1.10.5 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.10.4...1.10.5) Updates `zip` from 2.1.2 to 2.1.3 - [Release notes](https://github.com/zip-rs/zip2/releases) - [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md) - [Commits](https://github.com/zip-rs/zip2/compare/v2.1.2...v2.1.3) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: url dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: linkme dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: quick-xml dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-minor - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: zip dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 20:11:00 +00:00
zip = { version = "2.1.3", default-features = false}
[dependencies.ruffle_core]
path = "../core"
features = ["audio", "mp3", "nellymoser", "default_compatibility_rules", "default_font", "serde"]
2019-04-28 01:15:43 +00:00
2019-04-28 06:08:59 +00:00
[dependencies.web-sys]
version = "0.3.69"
features = [
"AddEventListenerOptions", "AudioBuffer", "AudioBufferSourceNode", "AudioContext",
"AudioDestinationNode", "AudioNode", "AudioParam", "Blob", "BlobPropertyBag",
2023-05-16 09:27:36 +00:00
"ChannelMergerNode", "ChannelSplitterNode", "ClipboardEvent", "DataTransfer", "Element", "Event",
"EventTarget", "GainNode", "Headers", "HtmlCanvasElement", "HtmlDocument", "HtmlElement", "HtmlFormElement",
"HtmlInputElement", "HtmlTextAreaElement", "KeyboardEvent", "Location", "PointerEvent",
"Request", "RequestInit", "Response", "Storage", "WheelEvent", "Window", "ReadableStream", "RequestCredentials",
"Url", "Clipboard",
]
[package.metadata.cargo-machete]
ignored = [
# Not used directly, declared only to enable its `js` feature.
"getrandom"
]