docs(servo-shell): point Servo dep at marcoallegretti/servo servo-weft branch

Fork: https://github.com/marcoallegretti/servo
Branch: servo-weft
Base rev: 04ca254f843ed650d3e5b14e5693ad51a60cc84b (upstream main 2026-03-11)

Update the Cargo snippet and update policy to match the fork-and-PR workflow.
This commit is contained in:
Marco Allegretti 2026-03-11 19:38:45 +01:00
parent a3f60910d5
commit ab70a858f9

View file

@ -3,9 +3,10 @@
## Current pin ## Current pin
| Field | Value | | Field | Value |
|---------|--------------------------------------------------------------------------| |---------|------------------------------------------------------------------------------------|
| Source | <https://github.com/servo/servo> | | Source | <https://github.com/marcoallegretti/servo> (fork of servo/servo) |
| Rev | `c242860f0ef4e7c6e60dfea29310167898e6eb38` (main, 2026-03-11) | | Branch | `servo-weft` |
| Rev | `04ca254f843ed650d3e5b14e5693ad51a60cc84b` (servo-weft tip, 2026-03-11) |
| Crate | `servo` (package name as of 2026-03-11; previously `libservo`) | | Crate | `servo` (package name as of 2026-03-11; previously `libservo`) |
| Feature | `servo-embed` (optional; off by default) | | Feature | `servo-embed` (optional; off by default) |
@ -21,8 +22,8 @@ feature line to declare `dep:servo`, `dep:winit`, and `dep:softbuffer`:
servo-embed = ["dep:servo", "dep:winit", "dep:softbuffer"] servo-embed = ["dep:servo", "dep:winit", "dep:softbuffer"]
[dependencies.servo] [dependencies.servo]
git = "https://github.com/servo/servo" git = "https://github.com/marcoallegretti/servo"
rev = "c242860f0ef4e7c6e60dfea29310167898e6eb38" branch = "servo-weft"
optional = true optional = true
default-features = false default-features = false
@ -81,9 +82,15 @@ compositor is not yet wired (`RenderingCtx::Egl` blit body is a no-op).
## Update policy ## Update policy
Pin is reviewed monthly. To update: The `servo-weft` branch is the working branch for WEFT-specific Servo patches.
Upstream servo/servo changes are merged into it periodically.
1. Check the [Servo release page](https://github.com/servo/servo/releases) for new tags. To rebase onto a new upstream commit:
2. Update `tag` in `Cargo.toml` and run `cargo update -p servo`.
3. Confirm the compositor and shell tests still pass. 1. In the `marcoallegretti/servo` repo: `git fetch upstream && git rebase upstream/main` on `servo-weft`.
4. Update this file with the new tag and any new or resolved gaps. 2. Force-push `servo-weft`.
3. Update `Rev` in this file to the new tip SHA.
4. Run `cargo update -p servo` in the WEFT OS workspace.
5. Confirm the compositor and shell tests still pass.
To submit patches upstream: open a PR from `servo-weft` (or a topic branch) to `servo/servo`.