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

@ -16,7 +16,7 @@ euclid = "0.22"
html5ever = "0.26"
rayon = "1"
serde_json = "1.0"
selectors = {path = "../../../components/selectors"}
selectors = {path = "../../../components/selectors", features = ["shmem"] }
servo_arc = {path = "../../../components/servo_arc"}
servo_atoms = {path = "../../../components/atoms"}
servo_config = {path = "../../../components/config"}