From ce4b9f28e21f30a7d614b0ee821c6fd80300aa4b Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Thu, 30 Mar 2023 11:00:13 -0700 Subject: [PATCH] lock serde_json below 1.0.94 (#603) This avoids a bug in more recent version that prevents us from downcasting errors to see if they are TimedOut errors. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e6290b3..cd0da93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ once_cell = "1" url = "2" socks = { version = "0.3", optional = true } serde = { version = "1", optional = true } -serde_json = { version = "1", optional = true } +serde_json = { version = ">=1,<1.0.94", optional = true } encoding_rs = { version = "0.8", optional = true } cookie_store = { version = "0.19", optional = true, default-features = false, features = ["preserve_order"] } log = "0.4"