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 = ["Mike Welsh <mwelsh@gmail.com>"]
|
2021-10-21 16:27:12 +00:00
|
|
|
edition = "2021"
|
2020-05-26 09:10:44 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-04-28 01:15:43 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-07-09 15:57:50 +00:00
|
|
|
byteorder = "1.4"
|
2021-08-16 20:42:38 +00:00
|
|
|
bitstream-io = "1.2.0"
|
2021-09-13 20:05:43 +00:00
|
|
|
flate2 = "1.0.22"
|
2020-05-14 16:22:54 +00:00
|
|
|
fnv = "1.0.7"
|
2021-02-18 02:38:55 +00:00
|
|
|
gc-arena = { git = "https://github.com/ruffle-rs/gc-arena" }
|
2020-05-18 18:41:50 +00:00
|
|
|
generational-arena = "0.2.8"
|
2021-10-18 20:06:25 +00:00
|
|
|
gif = "0.11.3"
|
2022-02-26 01:14:37 +00:00
|
|
|
# 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"
|
2021-01-02 17:45:55 +00:00
|
|
|
minimp3 = { version = "0.5.1", optional = true }
|
2022-03-07 20:12:47 +00:00
|
|
|
png = { version = "0.17.5" }
|
2019-12-06 18:24:36 +00:00
|
|
|
ruffle_macros = { path = "macros" }
|
2019-10-03 01:58:58 +00:00
|
|
|
swf = { path = "../swf" }
|
2021-08-16 20:06:16 +00:00
|
|
|
bitflags = "1.3.2"
|
2022-02-13 13:27:47 +00:00
|
|
|
smallvec = { version = "1.8.0", features = ["union"] }
|
2021-06-05 12:41:05 +00:00
|
|
|
num-traits = "0.2"
|
|
|
|
num-derive = "0.3"
|
2021-08-29 12:31:33 +00:00
|
|
|
quick-xml = { git = "https://github.com/ruffle-rs/quick-xml", rev = "8496365ec1412eb5ba5de350937b6bce352fa0ba" }
|
2020-06-30 00:16:54 +00:00
|
|
|
downcast-rs = "1.2.0"
|
2021-05-08 03:00:22 +00:00
|
|
|
url = "2.2.2"
|
2021-12-04 14:21:05 +00:00
|
|
|
weak-table = "0.3.2"
|
2020-05-31 02:14:30 +00:00
|
|
|
percent-encoding = "2.1.0"
|
2020-06-18 08:33:58 +00:00
|
|
|
thiserror = "1.0"
|
2020-07-08 18:26:00 +00:00
|
|
|
chrono = "0.4"
|
2020-10-11 19:10:27 +00:00
|
|
|
instant = "0.1"
|
2021-12-13 20:11:31 +00:00
|
|
|
encoding_rs = "0.8.30"
|
2022-02-14 20:08:39 +00:00
|
|
|
rand = { version = "0.8.5", features = ["std", "small_rng"], default-features = false }
|
2022-02-25 23:27:43 +00:00
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
2022-02-26 01:14:37 +00:00
|
|
|
serde_json = { version = "1.0", features = ["preserve_order"] }
|
2021-06-23 10:51:59 +00:00
|
|
|
nellymoser-rs = { git = "https://github.com/ruffle-rs/nellymoser" }
|
2022-01-15 00:31:37 +00:00
|
|
|
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 }
|
2021-07-12 20:07:00 +00:00
|
|
|
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 }
|
2021-05-08 07:41:33 +00:00
|
|
|
dasp = { git = "https://github.com/RustAudio/dasp", rev = "f05a703", features = ["interpolate", "interpolate-linear", "signal"] }
|
2022-02-13 13:27:13 +00:00
|
|
|
symphonia = { version = "0.5.0", default-features = false, features = ["mp3"], optional = true }
|
2021-08-22 16:47:24 +00:00
|
|
|
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
|
|
|
|
2019-08-12 23:44:49 +00:00
|
|
|
[dependencies.jpeg-decoder]
|
2022-02-13 13:27:53 +00:00
|
|
|
version = "0.2.2"
|
2019-08-12 23:44:49 +00:00
|
|
|
default-features = false # can't use rayon on web
|
|
|
|
|
2019-10-03 09:44:26 +00:00
|
|
|
[dev-dependencies]
|
2022-01-25 23:20:50 +00:00
|
|
|
approx = "0.5.1"
|
2019-10-03 09:44:26 +00:00
|
|
|
|
2019-07-19 08:32:41 +00:00
|
|
|
[features]
|
2022-02-25 23:27:43 +00:00
|
|
|
default = ["minimp3"]
|
2021-04-21 07:22:42 +00:00
|
|
|
h263 = ["h263-rs", "h263-rs-yuv"]
|
2021-08-22 16:47:24 +00:00
|
|
|
vp6 = ["nihav_core", "nihav_codec_support", "nihav_duck", "h263-rs-yuv"]
|
2021-12-09 00:21:41 +00:00
|
|
|
screenvideo = []
|
2021-06-22 08:26:27 +00:00
|
|
|
lzma = ["lzma-rs", "swf/lzma"]
|
2020-10-11 19:10:27 +00:00
|
|
|
wasm-bindgen = [ "instant/wasm-bindgen" ]
|
2019-11-20 23:08:50 +00:00
|
|
|
avm_debug = []
|
2022-03-16 14:47:39 +00:00
|
|
|
deterministic = []
|