summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-03 13:23:59 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-03 13:23:59 +0200
commit0fc25d732d7cbc37cf801645849d1060f2cec4a3 (patch)
tree706aa8d1bf4135d1dd3ac17a5023bc5e24ded69d /Cargo.toml
parent8dbc5b60cc4a88f68ee82607af3a3c454cd8f68b (diff)
Port to kurbo 🎋
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml20
1 files changed, 12 insertions, 8 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 15eea562..d1f7f946 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,27 +4,31 @@ version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2018"
-[lib]
-bench = false
-
[workspace]
members = ["main"]
+[features]
+default = ["serialize", "fs"]
+serialize = ["serde"]
+fs = ["fontdock/fs"]
+
+[lib]
+bench = false
+
[profile.dev.package."*"]
opt-level = 2
+[profile.release]
+lto = true
+
[dependencies]
fontdock = { path = "../fontdock", default-features = false }
+kurbo = "0.6.3"
tide = { path = "../tide" }
ttf-parser = "0.8.2"
unicode-xid = "0.2"
serde = { version = "1", features = ["derive"], optional = true }
-[features]
-default = ["serialize", "fs"]
-serialize = ["serde"]
-fs = ["fontdock/fs"]
-
[dev-dependencies]
criterion = "0.3"
futures-executor = "0.3"