summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 2082d916326cdfe80d51e296c1c9e3f6f544b026 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "typstc"
version = "0.1.0"
authors = ["Laurenz Mädje <laurmaedje@gmail.com>"]
edition = "2018"
build = "build.rs"

[dependencies]
toddle = { path = "../toddle", default-features = false }
tide = { path = "../tide" }
byteorder = "1"
smallvec = "0.6.10"
unicode-xid = "0.1.0"
async-trait = "0.1.22"
futures-executor = { version = "0.3", optional = true }

[features]
default = ["fs-provider", "futures-executor"]
fs-provider = ["toddle/fs-provider"]

[[bin]]
name = "typst-bin"
path = "src/bin/main.rs"
required-features = ["futures-executor"]

[[test]]
name = "layout"
path = "tests/layout.rs"
harness = false
required-features = ["futures-executor"]

[[test]]
name = "parse"
path = "tests/parse.rs"
harness = false