From 95652efc62b487649e9093639f614c4dcc8b2824 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Sun, 29 Sep 2024 00:15:55 +0200 Subject: [PATCH] build: Fix keyword benchmarks Signed-off-by: Dmitry Dygalo --- crates/benchmark/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/benchmark/src/lib.rs b/crates/benchmark/src/lib.rs index cfa763ae..96d4f82d 100644 --- a/crates/benchmark/src/lib.rs +++ b/crates/benchmark/src/lib.rs @@ -122,7 +122,9 @@ static BENCHMARK_SUITE: LazyLock = LazyLock::new(BenchmarkSuite: pub struct KeywordBenchmark { pub name: String, pub schema: Value, + #[serde(default)] pub valid: Vec, + #[serde(default)] pub invalid: Vec, }