summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-08-02 21:17:42 +0200
committerLaurenz <laurmaedje@gmail.com>2020-08-02 21:17:42 +0200
commitcbbc46215fe0a0ad8a50e991ec442890b8eadc0a (patch)
tree2efbac21cec46787f1efe0a859564b9614eefa98 /Cargo.toml
parentd5ff97f42ed1e682a66ea8d51e5f9ed1be547b9c (diff)
Layout elements and pure rust rendering 🥏
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml15
1 files changed, 10 insertions, 5 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e0495df4..c2f6b921 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,23 +7,28 @@ edition = "2018"
[workspace]
members = ["main"]
+[profile.dev.package."*"]
+opt-level = 2
+
[dependencies]
async-trait = "0.1"
-fontdock = { path = "../fontdock", features = ["fs", "serialize"] }
-serde = { version = "1", features = ["derive"], optional = true }
+fontdock = { path = "../fontdock" }
tide = { path = "../tide" }
ttf-parser = "0.8.2"
unicode-xid = "0.2"
+serde = { version = "1", features = ["derive"], optional = true }
[features]
serialize = []
+fs = ["fontdock/fs"]
[dev-dependencies]
futures-executor = "0.3"
serde_json = "1"
+raqote = { version = "0.7", default-features = false }
[[test]]
-name = "typeset"
-path = "tests/src/typeset.rs"
+name = "test-typeset"
+path = "tests/test_typeset.rs"
+required-features = ["fs"]
harness = false
-required-features = ["serialize"]