From 2689e351085b680a4849cd81e56cbf6abfd50e3e Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 8 Dec 2022 13:30:18 +0200 Subject: [PATCH] compile fail crate with failpoints feature --- Cargo.lock | 1 - pageserver/Cargo.toml | 2 +- workspace_hack/Cargo.toml | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 12ab6f17aa..f71a40dd8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4892,7 +4892,6 @@ dependencies = [ "clap 4.0.15", "crossbeam-utils", "either", - "fail", "futures-channel", "futures-task", "futures-util", diff --git a/pageserver/Cargo.toml b/pageserver/Cargo.toml index 9db07b52e7..36aa244d6a 100644 --- a/pageserver/Cargo.toml +++ b/pageserver/Cargo.toml @@ -20,7 +20,7 @@ close_fds = "0.3.2" const_format = "0.2.21" crc32c = "0.6.0" crossbeam-utils = "0.8.5" -fail = "0.5.0" +fail = { version = "0.5", default-features = false, features = ["failpoints"] } futures = "0.3.13" git-version = "0.3.5" hex = "0.4.3" diff --git a/workspace_hack/Cargo.toml b/workspace_hack/Cargo.toml index e50a559a4b..e1e50e1f78 100644 --- a/workspace_hack/Cargo.toml +++ b/workspace_hack/Cargo.toml @@ -19,7 +19,6 @@ bytes = { version = "1", features = ["serde", "std"] } clap = { version = "4", features = ["color", "derive", "error-context", "help", "std", "string", "suggestions", "usage"] } crossbeam-utils = { version = "0.8", features = ["once_cell", "std"] } either = { version = "1", features = ["use_std"] } -fail = { version = "0.5", default-features = false, features = ["failpoints"] } futures-channel = { version = "0.3", features = ["alloc", "futures-sink", "sink", "std"] } futures-task = { version = "0.3", default-features = false, features = ["alloc", "std"] } futures-util = { version = "0.3", features = ["alloc", "async-await", "async-await-macro", "channel", "futures-channel", "futures-io", "futures-macro", "futures-sink", "io", "memchr", "sink", "slab", "std"] }