servo/components
Jonathan Schwender 496ce717c5
Move legacy layout behind a feature flag (#32759)
* Move legacy layout behind a feature flag

For now the new feature flag would still be enabled by default,
but disabling the `layout_2013` feature, gives the following
binary size improvements for servoshell on Linux:
- in debug mode from 1278MB -> 1201 MB
- in release mode from 144MB -> 140MB
- in production mode from 108MB -> 106MB

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* Update components/servo/lib.rs

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>

---------

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-07-11 13:24:52 +00:00
..
allocator Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
background_hang_monitor Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
bluetooth clippy: fix some warnings in desktop and some components (#32583) 2024-06-25 07:04:23 +00:00
canvas canvas: Remove as much usage of font-kit as possible (#32758) 2024-07-11 04:25:38 +00:00
compositing Set compositor's cursor_pos properly (#32718) 2024-07-08 07:41:27 +00:00
config fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
config_plugins Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
constellation clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
deny_public_fields Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
devtools DevTools: Display console messages and errors (#32727) 2024-07-09 18:27:47 +00:00
dom_struct Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
domobject_derive Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
fonts canvas: Remove as much usage of font-kit as possible (#32758) 2024-07-11 04:25:38 +00:00
geometry Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
hyper_serde Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
jstraceable_derive Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
layout Fix more clippy (#32740) 2024-07-09 04:47:43 +00:00
layout_2020 Remove unused implementation (#32754) 2024-07-10 10:57:49 +00:00
layout_thread Fix more clippy (#32740) 2024-07-09 04:47:43 +00:00
layout_thread_2020 fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
media Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
metrics Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
net DevTools: Replace camel case variable names (#32726) 2024-07-08 11:18:35 +00:00
pixels Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
profile Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
rand Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
range Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
script script: Use the new C string literal in the DOM bindings (#32741) 2024-07-11 04:18:54 +00:00
servo Move legacy layout behind a feature flag (#32759) 2024-07-11 13:24:52 +00:00
shared DevTools: Display console messages and errors (#32727) 2024-07-09 18:27:47 +00:00
url script: Impl cloning of JSPrincipals (#32706) 2024-07-06 10:25:38 +00:00
webdriver_server Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
webgpu webgpu: Update wgpu and revamp RenderPass (#32665) 2024-07-04 12:16:42 +00:00