summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorzirkonya <zirkonya@iridium.lan>2026-09-01 09:51:18 +0200
committerzirkonya <zirkonya@iridium.lan>2026-09-01 09:51:18 +0200
commitbe62f065a62048b798e8bb2b8e3699bdd5b6d517 (patch)
tree8b3f4b05838b5fa34c3ae24e35004343baadf2af /Cargo.toml
parentfdc02f07cbd1994c1efb057f24a37a96faaa51fa (diff)
add proc macros ; benchmark ; example
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