mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
There were two kinds of layout tracing controlled by the same debugging option: - modern layout: Functionality that dumped a JSON serialization of the layout tree before and after layout. - legacy layout: A scope based tracing that reported the process of layout in a structured way. I don't think anyone working on layout is using either of these two features. For modern layout requiring data structure to implement `serde` serialization is incredibly inconvenient and also generates a lot of extra code. We also have a more modern tracing functionality based on perfetto that we have started to use for layout and IMO it's actually being used and more robust. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
60 lines
1.6 KiB
TOML
60 lines
1.6 KiB
TOML
[package]
|
|
name = "layout_2020"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "layout_2020"
|
|
path = "lib.rs"
|
|
test = true
|
|
doctest = false
|
|
|
|
[features]
|
|
tracing = ["dep:tracing"]
|
|
|
|
[dependencies]
|
|
app_units = { workspace = true }
|
|
atomic_refcell = { workspace = true }
|
|
base = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
canvas_traits = { workspace = true }
|
|
data-url = { workspace = true }
|
|
embedder_traits = { workspace = true }
|
|
euclid = { workspace = true }
|
|
fnv = { workspace = true }
|
|
fonts = { path = "../fonts" }
|
|
fonts_traits = { workspace = true }
|
|
fxhash = { workspace = true }
|
|
html5ever = { workspace = true }
|
|
icu_segmenter = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
itertools = { workspace = true }
|
|
log = { workspace = true }
|
|
net_traits = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
pixels = { path = "../pixels" }
|
|
range = { path = "../range" }
|
|
rayon = { workspace = true }
|
|
script_layout_interface = { workspace = true }
|
|
selectors = { workspace = true }
|
|
servo_arc = { workspace = true }
|
|
servo_config = { path = "../config" }
|
|
servo_geometry = { path = "../geometry" }
|
|
servo_url = { path = "../url" }
|
|
style = { workspace = true }
|
|
style_traits = { workspace = true }
|
|
taffy = { workspace = true }
|
|
tracing = { workspace = true, optional = true }
|
|
unicode-bidi = { workspace = true }
|
|
unicode-script = { workspace = true }
|
|
url = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
webrender_traits = { workspace = true }
|
|
xi-unicode = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
quickcheck = "1"
|