mirror of
https://github.com/servo/servo.git
synced 2025-07-31 19:20:22 +01:00
Cleanup Stylo dependencies (#36046)
Now that Stylo considers `servo` as the default feature, Servo doesn't need to specify `features = ["servo"]`. Also use the same crate names as Stylo, rather than renaming them with `package`. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
3a3c3aeb75
commit
4acaa08cf5
21 changed files with 63 additions and 63 deletions
|
@ -111,13 +111,13 @@ servo_geometry = { path = "../geometry" }
|
|||
servo_rand = { path = "../rand" }
|
||||
servo_url = { path = "../url" }
|
||||
smallvec = { workspace = true, features = ["union"] }
|
||||
style_malloc_size_of = { workspace = true }
|
||||
stylo_malloc_size_of = { workspace = true }
|
||||
glow = { workspace = true }
|
||||
strum = { workspace = true }
|
||||
strum_macros = { workspace = true }
|
||||
style = { workspace = true }
|
||||
stylo = { workspace = true }
|
||||
stylo_dom = { workspace = true }
|
||||
style_traits = { workspace = true }
|
||||
stylo_traits = { workspace = true }
|
||||
swapper = "0.1"
|
||||
tempfile = "3"
|
||||
tendril = { version = "0.4.1", features = ["encoding_rs"] }
|
||||
|
|
|
@ -41,8 +41,8 @@ pub(crate) struct StyleSheetInDocument {
|
|||
|
||||
// This is necessary because this type is contained within a Stylo type which needs
|
||||
// Stylo's version of MallocSizeOf.
|
||||
impl style_malloc_size_of::MallocSizeOf for StyleSheetInDocument {
|
||||
fn size_of(&self, ops: &mut style_malloc_size_of::MallocSizeOfOps) -> usize {
|
||||
impl stylo_malloc_size_of::MallocSizeOf for StyleSheetInDocument {
|
||||
fn size_of(&self, ops: &mut stylo_malloc_size_of::MallocSizeOfOps) -> usize {
|
||||
<StyleSheetInDocument as malloc_size_of::MallocSizeOf>::size_of(self, ops)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue