diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-03 16:13:35 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-03 16:13:35 +0100 |
| commit | 46921a8c283718402322d4d09c0bd1d9194278b1 (patch) | |
| tree | d218e7845c0491570d5535a4515c1c0f956f37b6 /tests/Cargo.toml | |
| parent | 37a7afddfaffd44cb9bc013c9506599267e08983 (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.toml | 27 |
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 |
