mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
This updates the smallvec crate and enables the union feature
We had a mix of 0.6.2 and 0.6.5 (which is the current release), this unifies to the latest version. It also enables the union feature which removes the discriminant, reducing memory usage.
This commit is contained in:
parent
3889041cc6
commit
34b5d8fbe8
7 changed files with 7 additions and 7 deletions
|
@ -10,7 +10,7 @@ name = "fallible"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
smallvec = "0.6.2"
|
smallvec = { version = "0.6", features = ["std", "union"] }
|
||||||
hashglobe = { path = "../hashglobe" }
|
hashglobe = { path = "../hashglobe" }
|
||||||
|
|
||||||
# This crate effectively does nothing except if the `known_system_malloc`
|
# This crate effectively does nothing except if the `known_system_malloc`
|
||||||
|
|
|
@ -36,7 +36,7 @@ serde = "1.0"
|
||||||
servo_arc = {path = "../servo_arc"}
|
servo_arc = {path = "../servo_arc"}
|
||||||
servo_atoms = {path = "../atoms"}
|
servo_atoms = {path = "../atoms"}
|
||||||
servo_url = {path = "../url"}
|
servo_url = {path = "../url"}
|
||||||
smallvec = "0.6.2"
|
smallvec = { version = "0.6", features = ["std", "union"] }
|
||||||
style = {path = "../style"}
|
style = {path = "../style"}
|
||||||
time = "0.1.12"
|
time = "0.1.12"
|
||||||
unicode-bidi = {version = "0.3", features = ["with_serde"]}
|
unicode-bidi = {version = "0.3", features = ["with_serde"]}
|
||||||
|
|
|
@ -44,7 +44,7 @@ servo_geometry = {path = "../geometry"}
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
servo_config = {path = "../config"}
|
servo_config = {path = "../config"}
|
||||||
servo_url = {path = "../url"}
|
servo_url = {path = "../url"}
|
||||||
smallvec = "0.6.2"
|
smallvec = { version = "0.6", features = ["std", "union"] }
|
||||||
style = {path = "../style", features = ["servo"]}
|
style = {path = "../style", features = ["servo"]}
|
||||||
style_traits = {path = "../style_traits"}
|
style_traits = {path = "../style_traits"}
|
||||||
unicode-bidi = {version = "0.3", features = ["with_serde"]}
|
unicode-bidi = {version = "0.3", features = ["with_serde"]}
|
||||||
|
|
|
@ -37,7 +37,7 @@ serde_bytes = { version = "0.10", optional = true }
|
||||||
servo_arc = { path = "../servo_arc" }
|
servo_arc = { path = "../servo_arc" }
|
||||||
servo_channel = { path = "../channel", optional = true }
|
servo_channel = { path = "../channel", optional = true }
|
||||||
smallbitvec = "2.1.0"
|
smallbitvec = "2.1.0"
|
||||||
smallvec = "0.6"
|
smallvec = { version = "0.6", features = ["std", "union"] }
|
||||||
string_cache = { version = "0.7", optional = true }
|
string_cache = { version = "0.7", optional = true }
|
||||||
thin-slice = "0.1.0"
|
thin-slice = "0.1.0"
|
||||||
time = { version = "0.1.17", optional = true }
|
time = { version = "0.1.17", optional = true }
|
||||||
|
|
|
@ -91,7 +91,7 @@ servo_geometry = {path = "../geometry" }
|
||||||
servo-media = {git = "https://github.com/servo/media"}
|
servo-media = {git = "https://github.com/servo/media"}
|
||||||
servo_rand = {path = "../rand"}
|
servo_rand = {path = "../rand"}
|
||||||
servo_url = {path = "../url"}
|
servo_url = {path = "../url"}
|
||||||
smallvec = "0.6.2"
|
smallvec = { version = "0.6", features = ["std", "union"] }
|
||||||
style = {path = "../style", features = ["servo"]}
|
style = {path = "../style", features = ["servo"]}
|
||||||
style_traits = {path = "../style_traits"}
|
style_traits = {path = "../style_traits"}
|
||||||
swapper = "0.1"
|
swapper = "0.1"
|
||||||
|
|
|
@ -28,7 +28,7 @@ fxhash = "0.2"
|
||||||
phf = "0.7.18"
|
phf = "0.7.18"
|
||||||
precomputed-hash = "0.1"
|
precomputed-hash = "0.1"
|
||||||
servo_arc = { version = "0.1", path = "../servo_arc" }
|
servo_arc = { version = "0.1", path = "../servo_arc" }
|
||||||
smallvec = "0.6.2"
|
smallvec = { version = "0.6", features = ["std", "union"] }
|
||||||
thin-slice = "0.1.0"
|
thin-slice = "0.1.0"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|
|
@ -62,7 +62,7 @@ servo_atoms = {path = "../atoms", optional = true}
|
||||||
servo_channel = {path = "../channel", optional = true}
|
servo_channel = {path = "../channel", optional = true}
|
||||||
servo_config = {path = "../config", optional = true}
|
servo_config = {path = "../config", optional = true}
|
||||||
smallbitvec = "2.1.1"
|
smallbitvec = "2.1.1"
|
||||||
smallvec = "0.6.2"
|
smallvec = { version = "0.6", features = ["std", "union"] }
|
||||||
string_cache = { version = "0.7", optional = true }
|
string_cache = { version = "0.7", optional = true }
|
||||||
style_derive = {path = "../style_derive"}
|
style_derive = {path = "../style_derive"}
|
||||||
style_traits = {path = "../style_traits"}
|
style_traits = {path = "../style_traits"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue