typst/Cargo.toml
Laurenz 73615f7e3c Text shaping 🚀
- Shapes text with rustybuzz
- Font fallback with family list
- Tofus are shown in the first font

Co-Authored-By: Martin <mhaug@live.de>
2021-03-24 17:12:34 +01:00

48 lines
949 B
TOML

[package]
name = "typst"
version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2018"
[features]
default = ["fs"]
fs = ["fontdock/fs"]
cli = ["fs", "anyhow"]
# serde = []
[workspace]
members = ["bench"]
[profile.dev]
# Faster compilation
debug = 0
[profile.dev.package."*"]
# Faster test execution
opt-level = 2
[dependencies]
fontdock = { path = "../fontdock", default-features = false }
image = { version = "0.23", default-features = false, features = ["jpeg", "png"] }
miniz_oxide = "0.3"
pdf-writer = { path = "../pdf-writer" }
rustybuzz = "0.3"
ttf-parser = "0.9"
unicode-xid = "0.2"
anyhow = { version = "1", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
[dev-dependencies]
walkdir = "2"
tiny-skia = "0.5"
usvg = { version = "0.14", default-features = false }
[[bin]]
name = "typst"
required-features = ["cli"]
[[test]]
name = "typeset"
required-features = ["fs"]
harness = false