From c82fe5f8d4973c1cf284fa9ac8f1203c0e850cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 4 Dec 2020 19:02:19 +0100 Subject: [PATCH] core: Use a weaker dependency on smallvec. Smallvec 1.4 regresses performance in Firefox, so while we fix it it'd be nice to be able to not use the new version. parking_lot is not using try_reserve so it can live with 1.0. --- core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index 1b5e9c8f..09778be2 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" [dependencies] cfg-if = "1.0.0" -smallvec = "1.4.0" +smallvec = "1.0" petgraph = { version = "0.5.1", optional = true } thread-id = { version = "3.3.0", optional = true } backtrace = { version = "0.3.49", optional = true }