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"] }
build(deps): bump the cargo-minor group with 10 updates Bumps the cargo-minor group with 10 updates: | Package | From | To | | --- | --- | --- | | [image](https://github.com/image-rs/image) | `0.25.1` | `0.25.2` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.62` | `1.0.63` | | [tokio](https://github.com/tokio-rs/tokio) | `1.38.0` | `1.38.1` | | [syn](https://github.com/dtolnay/syn) | `2.0.71` | `2.0.72` | | [toml_edit](https://github.com/toml-rs/toml) | `0.22.15` | `0.22.16` | | [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource) | `2.4.2` | `2.4.3` | | [gloo-net](https://github.com/rustwasm/gloo) | `0.5.0` | `0.6.0` | | [zip](https://github.com/zip-rs/zip2) | `2.1.3` | `2.1.5` | | [libloading](https://github.com/nagisa/rust_libloading) | `0.8.4` | `0.8.5` | | [toml](https://github.com/toml-rs/toml) | `0.8.14` | `0.8.15` | Updates `image` from 0.25.1 to 0.25.2 - [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md) - [Commits](https://github.com/image-rs/image/compare/v0.25.1...v0.25.2) Updates `thiserror` from 1.0.62 to 1.0.63 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63) Updates `tokio` from 1.38.0 to 1.38.1 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1) Updates `syn` from 2.0.71 to 2.0.72 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/2.0.71...2.0.72) Updates `toml_edit` from 0.22.15 to 0.22.16 - [Commits](https://github.com/toml-rs/toml/compare/v0.22.15...v0.22.16) Updates `embed-resource` from 2.4.2 to 2.4.3 - [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases) - [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v2.4.2...v2.4.3) Updates `gloo-net` from 0.5.0 to 0.6.0 - [Release notes](https://github.com/rustwasm/gloo/releases) - [Changelog](https://github.com/rustwasm/gloo/blob/master/CHANGELOG.md) - [Commits](https://github.com/rustwasm/gloo/compare/0.5.0...0.6.0) Updates `zip` from 2.1.3 to 2.1.5 - [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.3...v2.1.5) Updates `libloading` from 0.8.4 to 0.8.5 - [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.4...0.8.5) Updates `toml` from 0.8.14 to 0.8.15 - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15) --- updated-dependencies: - dependency-name: image dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: toml_edit dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: embed-resource dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: gloo-net dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-minor - dependency-name: zip dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: libloading dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: toml dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 12:09:02 +00:00
gloo-net = { version = "0.6.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 9 updates Bumps the cargo-minor group with 9 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.11` | `4.5.13` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.16.1` | `1.16.3` | | [flate2](https://github.com/rust-lang/flate2-rs) | `1.0.30` | `1.0.31` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.2.6` | `2.3.0` | | [serde_json](https://github.com/serde-rs/json) | `1.0.121` | `1.0.122` | | [regex](https://github.com/rust-lang/regex) | `1.10.5` | `1.10.6` | | [zip](https://github.com/zip-rs/zip2) | `2.1.5` | `2.1.6` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.10.1` | `3.11.0` | | [lru](https://github.com/jeromefroe/lru-rs) | `0.12.3` | `0.12.4` | Updates `clap` from 4.5.11 to 4.5.13 - [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.11...v4.5.13) Updates `bytemuck` from 1.16.1 to 1.16.3 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.1...v1.16.3) Updates `flate2` from 1.0.30 to 1.0.31 - [Release notes](https://github.com/rust-lang/flate2-rs/releases) - [Commits](https://github.com/rust-lang/flate2-rs/commits) Updates `indexmap` from 2.2.6 to 2.3.0 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.3.0) Updates `serde_json` from 1.0.121 to 1.0.122 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.121...v1.0.122) Updates `regex` from 1.10.5 to 1.10.6 - [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.5...1.10.6) Updates `zip` from 2.1.5 to 2.1.6 - [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.5...v2.1.6) Updates `tempfile` from 3.10.1 to 3.11.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.1...v3.11.0) Updates `lru` from 0.12.3 to 0.12.4 - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.12.3...0.12.4) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: bytemuck dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: flate2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-minor - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch 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 - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-minor - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 14:50:30 +00:00
zip = { version = "2.1.6", 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", "FocusEvent"
]
[package.metadata.cargo-machete]
ignored = [
# Not used directly, declared only to enable its `js` feature.
"getrandom"
]