style: Allow to use ThinVec/nsTArray in the style crate

This allows to clean-up the previous patches by using a single ThinVec
(which stores length / capacity along with the allocation).

Differential Revision: https://phabricator.services.mozilla.com/D175029
This commit is contained in:
Emilio Cobos Álvarez 2023-04-12 21:58:29 +00:00 committed by Martin Robinson
parent a2df8f7ea5
commit 0709e13446
9 changed files with 110 additions and 48 deletions

View file

@ -45,6 +45,7 @@ servo_arc = { path = "../servo_arc" }
smallbitvec = { workspace = true }
smallvec = { workspace = true }
string_cache = { workspace = true, optional = true }
thin-vec = { version = "0.2.1", features = ["gecko-ffi"] }
time = { workspace = true, optional = true }
tokio = { workspace = true }
url = { workspace = true, optional = true }