summaryrefslogtreecommitdiff
path: root/tests/Cargo.toml
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-03 16:13:35 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-03 16:13:35 +0100
commit46921a8c283718402322d4d09c0bd1d9194278b1 (patch)
treed218e7845c0491570d5535a4515c1c0f956f37b6 /tests/Cargo.toml
parent37a7afddfaffd44cb9bc013c9506599267e08983 (diff)
Separate test crate
This removes the not-really-cyclic dependency that confuses rust-analyzer. See also: https://github.com/rust-lang/rust-analyzer/issues/2414
Diffstat (limited to 'tests/Cargo.toml')
-rw-r--r--tests/Cargo.toml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/Cargo.toml b/tests/Cargo.toml
new file mode 100644
index 00000000..cf77ca15
--- /dev/null
+++ b/tests/Cargo.toml
@@ -0,0 +1,27 @@
+[package]
+name = "typst-tests"
+version = "0.1.0"
+authors = ["The Typst Project Developers"]
+edition = "2021"
+
+[dev-dependencies]
+typst = { path = ".." }
+typst-library = { path = "../library" }
+comemo = "0.1"
+elsa = "1.7"
+iai = { git = "https://github.com/reknih/iai" }
+once_cell = "1"
+tiny-skia = "0.6.2"
+ttf-parser = "0.17"
+unscanny = "0.1"
+walkdir = "2"
+
+[[test]]
+name = "tests"
+path = "src/tests.rs"
+harness = false
+
+[[bench]]
+name = "benches"
+path = "src/benches.rs"
+harness = false