From 03d14e13f2f06528a377c4508aefb2a7a044c193 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 21 Apr 2022 18:08:33 +0000 Subject: make benchmarks work again --- azalea-nbt/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/azalea-nbt/Cargo.toml b/azalea-nbt/Cargo.toml index 89a1efd8..d4817233 100644 --- a/azalea-nbt/Cargo.toml +++ b/azalea-nbt/Cargo.toml @@ -16,11 +16,14 @@ tokio = "^1.15.0" [dev-dependencies] criterion = {version = "^0.3.5", features = ["html_reports", "async_tokio"]} -tokio = {version = "^1.15.0", features = ["fs", "io-util", "macros"]} +tokio = {version = "^1.15.0", features = ["fs", "io-util", "macros", "rt", "rt-multi-thread"]} [profile.release] lto = true +[profile.bench] +debug = true + [[bench]] harness = false name = "my_benchmark" -- cgit v1.2.3