summaryrefslogtreecommitdiff
path: root/bench/Cargo.toml
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-11-25 19:28:04 +0100
committerLaurenz <laurmaedje@gmail.com>2020-11-25 19:28:04 +0100
commitb4f809f1ea8a469d0bdee225f47d7f09bc22aa61 (patch)
tree93a186e98a278588b42d61fdbe814151f3e6fce7 /bench/Cargo.toml
parente30d896c7b871b1588925cadd10808c65e93d511 (diff)
Move benchmarks into separate crate ♾
So that CI does not have to build criterion each time.
Diffstat (limited to 'bench/Cargo.toml')
-rw-r--r--bench/Cargo.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/bench/Cargo.toml b/bench/Cargo.toml
new file mode 100644
index 00000000..25a112a1
--- /dev/null
+++ b/bench/Cargo.toml
@@ -0,0 +1,16 @@
+[package]
+name = "typst-bench"
+version = "0.0.1"
+authors = ["The Typst Project Developers"]
+edition = "2018"
+publish = false
+
+[dependencies]
+fontdock = { path = "../../fontdock" }
+typst = { path = ".." }
+criterion = "0.3"
+
+[[bench]]
+name = "typst"
+path = "src/bench.rs"
+harness = false