diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-08-02 16:56:14 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-08-02 16:56:14 +0200 |
| commit | d5ff97f42ed1e682a66ea8d51e5f9ed1be547b9c (patch) | |
| tree | 2fdc3a368c4320051e3f62a460f3912fe5f44c7c /Cargo.toml | |
| parent | 533374db14087ac54fdc86afa5f009487ac1b850 (diff) | |
Move binary into separate crate and tidy dependencies ðŸŽ
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -1,27 +1,29 @@ [package] name = "typstc" version = "0.1.0" -authors = ["Laurenz Mädje <laurmaedje@gmail.com>"] +authors = ["The Typst Project Developers"] edition = "2018" +[workspace] +members = ["main"] + [dependencies] async-trait = "0.1" fontdock = { path = "../fontdock", features = ["fs", "serialize"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -smallvec = "1" +serde = { version = "1", features = ["derive"], optional = true } tide = { path = "../tide" } ttf-parser = "0.8.2" unicode-xid = "0.2" -futures-executor = { version = "0.3", optional = true } -[[bin]] -name = "typst" -path = "src/bin/main.rs" -required-features = ["futures-executor"] +[features] +serialize = [] + +[dev-dependencies] +futures-executor = "0.3" +serde_json = "1" [[test]] name = "typeset" path = "tests/src/typeset.rs" harness = false -required-features = ["futures-executor"] +required-features = ["serialize"] |
