servo/components/servo
Martin Robinson a6b9640c99
compositor: Do not parse the Cargo.lock file while building (#33222)
The compositor's `build.rs` script was parsing the `Cargo.lock` file in
order to tag WebRender captures with the WebRender version. The embedder
already knows what version of Servo we are using, which should be enough
to infer the WebRender revision. This changes does that and generally
does a bit of cleaning up of how captures are done.

- The name of the capture directory is now `webrender-captures`
- There is console output now when captures are done. Before it was hard
  to know if it succeeded.
- Simplify the Compositor constructor a little to avoid passing
  arguments so much.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-08-28 08:36:54 +00:00
..
build.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
Cargo.toml Remove the WebXR dependency on ancient time@0.1 crate (#32862) 2024-07-26 13:53:34 +00:00
lib.rs compositor: Do not parse the Cargo.lock file while building (#33222) 2024-08-28 08:36:54 +00:00