From 970e3ecfbdf9e4e4c4faacdb87efa656e812398a Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 28 Jun 2018 17:01:12 +0200 Subject: Add benchmarks to the Askama repo --- testing/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testing/Cargo.toml') diff --git a/testing/Cargo.toml b/testing/Cargo.toml index 06fdf56..ff67e2e 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -10,6 +10,7 @@ nightly = ["rocket", "rocket_codegen", "askama/with-rocket"] [dependencies] askama = { path = "../askama", version = "*", features = ["with-iron", "serde-json"] } +criterion = "0.2" iron = "0.6" rocket = { version = "0.3", optional = true } rocket_codegen = { version = "0.3", optional = true } @@ -17,3 +18,7 @@ serde_json = "1.0" [build-dependencies] askama = { path = "../askama", version = "*", features = ["with-iron", "serde-json"] } + +[[bench]] +name = "all" +harness = false -- cgit