mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
fonts: Add more types to fonts_traits
(#38898)
This is necessary so that `constellation_traits` can get these types via a dependency on `fonts_traits`. This will allow sending IPC channels to shared workers so that they can have access to a shared `FontContext` from `script`. Testing: This just moves code between crates, so is covered by existing tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
0b5bcfbf17
commit
3a97d4eed2
22 changed files with 495 additions and 446 deletions
|
@ -12,8 +12,18 @@ name = "fonts_traits"
|
|||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
atomic_refcell = { workspace = true }
|
||||
ipc-channel = { workspace = true }
|
||||
log = { workspace = true }
|
||||
malloc_size_of = { workspace = true }
|
||||
malloc_size_of_derive = { workspace = true }
|
||||
memmap2 = { workspace = true }
|
||||
range = { path = "../../range" }
|
||||
read-fonts = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
servo_url = { path = "../../url" }
|
||||
stylo = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
dwrote = { workspace = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue