From a054d151c7698e121b659a6540463fdffbddcb48 Mon Sep 17 00:00:00 2001 From: Daniel Carl Jones Date: Tue, 24 Sep 2024 10:16:29 +0100 Subject: [PATCH] Add new 'mock' feature for 'mock-mount-s3' binary Signed-off-by: Daniel Carl Jones --- mountpoint-s3/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mountpoint-s3/Cargo.toml b/mountpoint-s3/Cargo.toml index 6b3b7e942..89aae224a 100644 --- a/mountpoint-s3/Cargo.toml +++ b/mountpoint-s3/Cargo.toml @@ -87,6 +87,8 @@ fuse_tests = [] s3_tests = [] s3express_tests = [] shuttle = [] +# Other feature flags +mock = ["mountpoint-s3-client/mock", "futures/thread-pool"] [[bin]] name = "mount-s3" @@ -95,4 +97,4 @@ path = "src/main.rs" [[bin]] name = "mock-mount-s3" path = "src/bin/mock-mount-s3.rs" -required-features = ["mountpoint-s3-client/mock"] +required-features = ["mock"]