ruffle/core/Cargo.toml

75 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_core"
2019-04-28 01:15:43 +00:00
version = "0.1.0"
authors = ["Ruffle LLC <ruffle@ruffle.rs>"]
2021-10-21 16:27:12 +00:00
edition = "2021"
license = "MIT OR Apache-2.0"
2019-04-28 01:15:43 +00:00
[dependencies]
byteorder = "1.4"
bitstream-io = "1.3.0"
flate2 = "1.0.23"
fnv = "1.0.7"
gc-arena = { git = "https://github.com/ruffle-rs/gc-arena" }
generational-arena = "0.2.8"
gif = "0.11.3"
# TODO: From some reason newer indexmap versions cause a cyclic package dependency.
# This is a workaround from: https://github.com/tkaitchuck/aHash/issues/95#issuecomment-903560879
indexmap = "~1.6.2"
2019-04-28 01:15:43 +00:00
log = "0.4"
minimp3 = { version = "0.5.1", optional = true }
png = { version = "0.17.5" }
ruffle_macros = { path = "macros" }
ruffle_wstr = { path = "../wstr" }
swf = { path = "../swf" }
bitflags = "1.3.2"
smallvec = { version = "1.8.0", features = ["union"] }
2021-06-05 12:41:05 +00:00
num-traits = "0.2"
num-derive = "0.3"
quick-xml = { git = "https://github.com/ruffle-rs/quick-xml", rev = "8496365ec1412eb5ba5de350937b6bce352fa0ba" }
downcast-rs = "1.2.0"
url = "2.2.2"
weak-table = "0.3.2"
percent-encoding = "2.1.0"
thiserror = "1.0"
2020-07-08 18:26:00 +00:00
chrono = "0.4"
instant = "0.1"
encoding_rs = "0.8.31"
rand = { version = "0.8.5", features = ["std", "small_rng"], default-features = false }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
nellymoser-rs = { git = "https://github.com/ruffle-rs/nellymoser", rev = "4a33521c29a918950df8ae9fe07e527ac65553f5" }
h263-rs = { git = "https://github.com/ruffle-rs/h263-rs", rev = "023e14c73e565c4c778d41f66cfbac5ece6419b2", optional = true }
h263-rs-yuv = { git = "https://github.com/ruffle-rs/h263-rs", rev = "023e14c73e565c4c778d41f66cfbac5ece6419b2", optional = true }
regress = "0.4"
2021-08-09 20:30:23 +00:00
flash-lso = { git = "https://github.com/ruffle-rs/rust-flash-lso", rev = "19fecd07b9888c4bdaa66771c468095783b52bed" }
2021-06-22 08:26:27 +00:00
lzma-rs = {version = "0.2.0", optional = true }
dasp = { git = "https://github.com/RustAudio/dasp", rev = "f05a703", features = ["interpolate", "interpolate-linear", "signal"] }
symphonia = { version = "0.5.0", default-features = false, features = ["mp3"], optional = true }
nihav_core = { git = "https://github.com/ruffle-rs/nihav-vp6", rev = "9416fcc9fc8aab8f4681aa9093b42922214abbd3", optional = true }
nihav_codec_support = { git = "https://github.com/ruffle-rs/nihav-vp6", rev = "9416fcc9fc8aab8f4681aa9093b42922214abbd3", optional = true }
nihav_duck = { git = "https://github.com/ruffle-rs/nihav-vp6", rev = "9416fcc9fc8aab8f4681aa9093b42922214abbd3", optional = true }
2019-07-19 08:32:41 +00:00
[dependencies.jpeg-decoder]
version = "0.2.4"
default-features = false # can't use rayon on web
[target.'cfg(not(target_family = "wasm"))'.dependencies.futures]
version = "0.3.21"
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.30"
[dev-dependencies]
approx = "0.5.1"
2019-07-19 08:32:41 +00:00
[features]
default = ["minimp3"]
2021-04-21 07:22:42 +00:00
h263 = ["h263-rs", "h263-rs-yuv"]
vp6 = ["nihav_core", "nihav_codec_support", "nihav_duck", "h263-rs-yuv"]
screenvideo = []
2021-06-22 08:26:27 +00:00
lzma = ["lzma-rs", "swf/lzma"]
wasm-bindgen = [ "instant/wasm-bindgen" ]
avm_debug = []
deterministic = []