Auto merge of #29361 - federicomenaquintero:selectors-shmem-feature, r=delan

Add a "shmem" feature to selectors to avoid publishing that dependency

<!-- Please describe your changes on the following line: -->

Hopefully as a way to help #29105, this PR adds a `shmem` feature to the selectors crate.  This is so that the crate can be released with that feature off by default, as the `ToShmem` derives are only of interest to Servo, I think.

All the places where servo's source code includes the selectors crate are made to turn on this feature.
This commit is contained in:
bors-servo 2023-02-15 10:26:18 +01:00 committed by GitHub
commit a01035e6fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 59 additions and 43 deletions

View file

@ -88,7 +88,7 @@ regex = "1.1"
script_layout_interface = { path = "../script_layout_interface" }
script_plugins = { path = "../script_plugins" }
script_traits = { path = "../script_traits" }
selectors = { path = "../selectors" }
selectors = { path = "../selectors", features = ["shmem"] }
serde = { version = "1", features = ["derive"] }
serde_bytes = "0.11"
servo-media = { git = "https://github.com/servo/media" }