events: Fix required-features of event_deserialize benchmark

This commit is contained in:
Jonas Platte 2022-10-31 10:37:55 +01:00
parent 8e36637138
commit ff70c20063
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
2 changed files with 1 additions and 2 deletions

View File

@ -89,4 +89,4 @@ trybuild = "1.0.71"
[[bench]] [[bench]]
name = "event_deserialize" name = "event_deserialize"
harness = false harness = false
required-features = ["criterion"] required-features = ["criterion", "events"]

View File

@ -4,7 +4,6 @@
// To pass args to criterion, use this form // To pass args to criterion, use this form
// `cargo bench --features criterion --bench <name of the bench> -- --save-baseline <name>`. // `cargo bench --features criterion --bench <name of the bench> -- --save-baseline <name>`.
#![cfg(feature = "events")]
#![allow(unused_imports, dead_code)] #![allow(unused_imports, dead_code)]
use criterion::{criterion_group, criterion_main, Criterion}; use criterion::{criterion_group, criterion_main, Criterion};