2022-08-13 22:52:16 +00:00
|
|
|
[package]
|
|
|
|
name = "ruffle_render"
|
2022-12-16 23:09:19 +00:00
|
|
|
authors.workspace = true
|
2022-10-14 10:09:22 +00:00
|
|
|
edition.workspace = true
|
2022-12-16 23:09:19 +00:00
|
|
|
homepage.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
version.workspace = true
|
2022-08-13 22:52:16 +00:00
|
|
|
|
2024-01-04 21:30:32 +00:00
|
|
|
[lints]
|
|
|
|
workspace = true
|
|
|
|
|
2022-08-13 22:52:16 +00:00
|
|
|
[dependencies]
|
2023-02-03 14:03:28 +00:00
|
|
|
ruffle_wstr = { path = "../wstr" }
|
2022-09-02 12:53:42 +00:00
|
|
|
swf = { path = "../swf"}
|
2023-05-31 23:50:21 +00:00
|
|
|
tracing = { workspace = true }
|
2024-01-29 06:47:01 +00:00
|
|
|
gif = "0.13.1"
|
2024-02-19 10:08:26 +00:00
|
|
|
png = "0.17.13"
|
2024-04-04 11:46:34 +00:00
|
|
|
flate2 = { workspace = true }
|
2024-03-22 09:57:29 +00:00
|
|
|
smallvec = { version = "1.13.2", features = ["union"] }
|
2024-04-08 20:55:16 +00:00
|
|
|
downcast-rs = "1.2.1"
|
2022-11-07 22:26:57 +00:00
|
|
|
lyon = { version = "1.0.1", optional = true }
|
2024-01-01 00:12:22 +00:00
|
|
|
lyon_geom = "1.0.5"
|
2024-04-04 12:01:11 +00:00
|
|
|
thiserror = { workspace = true }
|
2024-04-04 12:03:22 +00:00
|
|
|
wasm-bindgen = { workspace = true, optional = true }
|
2024-04-04 11:45:27 +00:00
|
|
|
enum-map = { workspace = true }
|
2024-06-07 22:14:24 +00:00
|
|
|
serde = { workspace = true, features = ["derive"], optional = true }
|
2024-04-04 11:41:44 +00:00
|
|
|
clap = { workspace = true, optional = true }
|
2024-05-21 12:40:45 +00:00
|
|
|
h263-rs-yuv = { git = "https://github.com/ruffle-rs/h263-rs", rev = "f0fa94c366a1d0383df99aa835add175658d6bad"}
|
2024-04-04 11:58:34 +00:00
|
|
|
num-traits = { workspace = true }
|
2024-04-04 11:57:51 +00:00
|
|
|
num-derive = { workspace = true }
|
2023-10-09 21:59:27 +00:00
|
|
|
byteorder = "1.5"
|
2023-07-01 17:50:43 +00:00
|
|
|
wgpu = { workspace = true, optional = true }
|
2024-03-25 01:06:03 +00:00
|
|
|
indexmap = "2.2.6"
|
2022-08-13 22:58:40 +00:00
|
|
|
|
2023-06-11 00:25:03 +00:00
|
|
|
# This crate has a `compile_error!` on apple platforms
|
|
|
|
[target.'cfg(not(target_vendor = "apple"))'.dependencies.renderdoc]
|
2024-03-02 07:36:21 +00:00
|
|
|
version = "0.12.1"
|
2023-06-11 00:25:03 +00:00
|
|
|
optional = true
|
|
|
|
|
2022-08-13 22:58:40 +00:00
|
|
|
[dependencies.jpeg-decoder]
|
2024-01-15 22:25:22 +00:00
|
|
|
version = "0.3.1"
|
2022-08-13 22:58:40 +00:00
|
|
|
default-features = false # can't use rayon on web
|
2022-08-13 22:52:16 +00:00
|
|
|
|
2022-08-13 23:16:17 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
approx = "0.5.1"
|
|
|
|
|
2022-08-13 23:27:27 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2022-08-18 23:34:35 +00:00
|
|
|
tessellator = ["lyon"]
|
2022-09-02 12:53:42 +00:00
|
|
|
web = ["wasm-bindgen"]
|
2023-07-01 17:50:43 +00:00
|
|
|
wgpu = ["dep:wgpu"]
|
2024-06-07 22:14:24 +00:00
|
|
|
serde = ["dep:serde"]
|