From ed4735d71af0432491a361912da747ccaf39a21b Mon Sep 17 00:00:00 2001 From: Daniel Carl Jones Date: Tue, 24 Sep 2024 15:52:05 +0100 Subject: [PATCH] Add new 'mock' feature for 'mock-mount-s3' binary (#1030) 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 7f8736eab..ca4b82f2c 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,7 +97,7 @@ 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"] [[bin]] name = "mount-s3-log-analyzer"