summaryrefslogtreecommitdiff
path: root/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 /Cargo.toml
parente30d896c7b871b1588925cadd10808c65e93d511 (diff)
Move benchmarks into separate crate ♾
So that CI does not have to build criterion each time.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml12
1 files changed, 3 insertions, 9 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f92114d8..b7c3055f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,9 @@ version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2018"
+[workspace]
+members = ["bench"]
+
[features]
default = ["fs", "anyhow"]
fs = ["fontdock/fs"]
@@ -23,7 +26,6 @@ serde = { version = "1", features = ["derive"], optional = true }
anyhow = { version = "1", optional = true }
[dev-dependencies]
-criterion = "0.3"
memmap = "0.7"
tiny-skia = "0.2"
@@ -33,9 +35,6 @@ opt-level = 2
[profile.release]
lto = true
-[lib]
-bench = false
-
[[bin]]
name = "typst"
required-features = ["fs", "anyhow"]
@@ -44,8 +43,3 @@ required-features = ["fs", "anyhow"]
name = "typeset"
required-features = ["fs"]
harness = false
-
-[[bench]]
-name = "benchmarks"
-required-features = ["fs"]
-harness = false