mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
selectors/Cargo.toml: Gate the_shmem/to_shmem_derive deps behind a new "shmem" feature
ToShmem is of interest only to Servo, not to the public selectors crate.
This commit is contained in:
parent
f45c424292
commit
9dae402dc5
1 changed files with 3 additions and 2 deletions
|
@ -16,6 +16,7 @@ path = "lib.rs"
|
|||
|
||||
[features]
|
||||
bench = []
|
||||
shmem = [ "dep:to_shmem", "dep:to_shmem_derive" ]
|
||||
|
||||
[dependencies]
|
||||
bitflags = "1.0"
|
||||
|
@ -27,8 +28,8 @@ phf = "0.8"
|
|||
precomputed-hash = "0.1"
|
||||
servo_arc = { version = "0.1", path = "../servo_arc" }
|
||||
smallvec = "1.0"
|
||||
to_shmem = { path = "../to_shmem" }
|
||||
to_shmem_derive = { path = "../to_shmem_derive" }
|
||||
to_shmem = { path = "../to_shmem", optional = true }
|
||||
to_shmem_derive = { path = "../to_shmem_derive", optional = true }
|
||||
|
||||
[build-dependencies]
|
||||
phf_codegen = "0.8"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue