Clean up unused dependencies / features and centralize more feature selection into root Cargo.toml (#37720)

- Make feature flag of smallvec global.
- Removed unused dependency of thinvec.
- Removed unused flag of hyper-util.

Reduces the binary size by an astonishing 3.352k.

Testing: Compilation 'tests' this change.

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
Narfinger 2025-06-26 13:56:48 +02:00 committed by GitHub
parent c8132137cd
commit 4d35b69ffe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 4 additions and 32 deletions

View file

@ -114,7 +114,7 @@ servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" }
servo_rand = { path = "../rand" }
servo_url = { path = "../url" }
smallvec = { workspace = true, features = ["union"] }
smallvec = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
stylo = { workspace = true }