summaryrefslogtreecommitdiff
path: root/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 /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 'Cargo.toml')
-rw-r--r--Cargo.toml20
1 files changed, 5 insertions, 15 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 0e964877..fba8f5b3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,11 @@ authors = ["The Typst Project Developers"]
edition = "2021"
[workspace]
-members = ["cli", "library", "macros"]
+members = ["cli", "library", "macros", "tests"]
+
+[lib]
+doctest = false
+bench = false
[dependencies]
typst-macros = { path = "macros" }
@@ -35,22 +39,8 @@ unicode-xid = "0.2"
unscanny = "0.1"
usvg = { version = "0.22", default-features = false }
-[dev-dependencies]
-typst-library = { path = "library" }
-iai = { git = "https://github.com/reknih/iai" }
-elsa = "1.7"
-walkdir = "2"
-
[profile.dev]
debug = 0
[profile.dev.package."*"]
opt-level = 2
-
-[[test]]
-name = "typeset"
-harness = false
-
-[[bench]]
-name = "oneshot"
-harness = false