ruffle/Cargo.toml

59 lines
1.1 KiB
TOML

[workspace]
members = [
"core",
"core/macros",
"core/build_playerglobal",
"desktop",
"swf",
"web",
"web/packages/extension/safari",
"wstr",
"scanner",
"exporter",
"render",
"render/canvas",
"render/wgpu",
"render/webgl",
"tests",
"tests/input-format",
]
resolver = "2"
# Don't optimize build scripts and macros.
[profile.release.build-override]
opt-level = 0
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[profile.dev.package.h263-rs]
opt-level = 3
[profile.dev.package.h263-rs-yuv]
opt-level = 3
[profile.dev.package.nihav_core]
opt-level = 3
[profile.dev.package.nihav_codec_support]
opt-level = 3
[profile.dev.package.nihav_duck]
opt-level = 3
# TODO: Set rustflags here instead of in web/core/package.json, when that
# feature becomes stable. See: https://github.com/rust-lang/cargo/issues/10271
# Until then, these custom profiles let cargo keep the build cache alive
# across "dual-wasm" builds, separating it for the two .wasm modules.
[profile.web-vanilla-wasm]
inherits = "release"
[profile.web-wasm-extensions]
inherits = "release"