summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-12 21:26:58 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-12 21:26:58 +0200
commitdd4a4545a6b72e48cde5d2483fac5e4e76f6047f (patch)
treed31c99d4b4322be773cbf100acc3d7c2600ebe8c /Cargo.toml
parent1a70cb6a330990dc0ab373905d12458ef87afbad (diff)
Move main back into src/ 📨
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml28
1 files changed, 13 insertions, 15 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 21c36b6d..49833b26 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,18 +4,6 @@ version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2018"
-[workspace]
-members = ["main"]
-
-[lib]
-bench = false
-
-[profile.dev.package."*"]
-opt-level = 2
-
-[profile.release]
-lto = true
-
[features]
default = ["fs"]
fs = ["fontdock/fs"]
@@ -31,17 +19,27 @@ serde = { version = "1", features = ["derive"], optional = true }
[dev-dependencies]
criterion = "0.3"
-kurbo = "0.6.3"
raqote = { version = "0.8", default-features = false }
+[profile.dev.package."*"]
+opt-level = 2
+
+[profile.release]
+lto = true
+
+[lib]
+bench = false
+
+[[bin]]
+name = "typstc"
+required-features = ["fs"]
+
[[test]]
name = "typeset"
-path = "tests/test_typeset.rs"
required-features = ["fs"]
harness = false
[[bench]]
name = "benchmarks"
-path = "benches/benchmarks.rs"
required-features = ["fs"]
harness = false