mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Using the Rust yuv crate, eagerly convert from YUV to RGBA on the CPU when a GPU context is unavailable. Time spent converting an 8-bit YUV frame with this crate is better than libyuv on ARM by about 20%, and on x86 with AVX2, it achieves similar numbers to libyuv.
37 lines
800 B
TOML
37 lines
800 B
TOML
[workspace]
|
|
members = [
|
|
"Libraries/LibGfx/Rust",
|
|
"Libraries/LibJS/Rust",
|
|
"Libraries/LibRegex/Rust",
|
|
"Libraries/LibUnicode/Rust",
|
|
]
|
|
exclude = [
|
|
"Libraries/LibJS/AsmIntGen",
|
|
]
|
|
resolver = "2"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
|
|
[profile.distribution]
|
|
inherits = "release"
|
|
incremental = false
|
|
codegen-units = 1
|
|
lto = true
|
|
|
|
[workspace.lints.clippy]
|
|
all = "deny" # includes lintgroups: correctness, suspicious, style, complexity, perf
|
|
# from clippy:nursery:
|
|
redundant_clone = "deny"
|
|
# from clippy:pedantic:
|
|
uninlined_format_args = "deny"
|
|
semicolon_if_nothing_returned = "deny"
|
|
manual_let_else = "deny"
|
|
unnecessary_wraps = "deny"
|
|
manual_assert = "deny"
|
|
ref_option = "deny"
|
|
elidable_lifetime_names = "deny"
|
|
unnested_or_patterns = "deny"
|
|
borrow_as_ptr = "deny"
|
|
explicit_iter_loop = "deny"
|