summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 6295036..437e0af 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,16 @@ tokio = { version = "1.53.1", optional = true }
# Macros
zr_protocol_macros = { version = "0.1.0", path = "macros", optional = true }
+[dev-dependencies]
+criterion = "0.5"
+
+[[bench]]
+name = "codec_bench"
+harness = false
+required-features = ["macros"]
+
[features]
+default = ["macros"]
# Macros
macros = ["dep:zr_protocol_macros"]
# Runtime