From 37d8a49294f06e7c1ad809236246b538429a8f6f Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Mon, 15 Jul 2024 14:17:46 -0700 Subject: [PATCH] Handle features correctly in CLI package --- tools/Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/Cargo.toml b/tools/Cargo.toml index 484fc54f3..f5459de08 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -17,4 +17,10 @@ name = "seek_stress" [dependencies] cfg-if = "1.0.0" libc = "0.2" -rav1d = { path = "../", version = "0.2.0" } +rav1d = { path = "../", version = "0.2.0", default-features = false } + +[features] +default = ["asm", "bitdepth_8", "bitdepth_16"] +asm = ["rav1d/asm"] +bitdepth_8 = ["rav1d/bitdepth_8"] +bitdepth_16 = ["rav1d/bitdepth_16"]