224e1df8e5
The `oxipng` crate contains a binary target in addition to the library target. Said binary has additional dependencies which are not needed by users of the library. Since Cargo unfortunately doesn't currently offer a good way to express such binary-only dependencies, they are enabled by default via the `binary` feature. Avoid downloading and building these unnecessary crates by disabling the `binary` feature.
32 lines
717 B
TOML
32 lines
717 B
TOML
[package]
|
|
name = "typst-tests"
|
|
version.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
publish = false
|
|
|
|
[dev-dependencies]
|
|
typst = { path = "../crates/typst" }
|
|
typst-library = { path = "../crates/typst-library" }
|
|
comemo = "0.3"
|
|
iai = { git = "https://github.com/reknih/iai" }
|
|
once_cell = "1"
|
|
oxipng = { version = "8.0.0", default-features = false, features = ["filetime", "parallel", "zopfli"] }
|
|
rayon = "1.7.0"
|
|
tiny-skia = "0.9.0"
|
|
ttf-parser = "0.18.1"
|
|
unscanny = "0.1"
|
|
walkdir = "2"
|
|
clap = { version = "4.2.4", features = ["derive"] }
|
|
|
|
[[test]]
|
|
name = "tests"
|
|
path = "src/tests.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "benches"
|
|
path = "src/benches.rs"
|
|
harness = false
|