diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-01-06 12:41:42 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-01-06 12:41:42 +0100 |
| commit | 2ee5810fecb96a8d4e0d078faecc8c91096d6881 (patch) | |
| tree | 702c746a3021f5034e1b31cd07e8fadba0e4dd7a /Cargo.toml | |
| parent | bd384a2a633e21cd7deff7ed2a29a9c03a63a20e (diff) | |
Asyncify font loading 🪐
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -6,20 +6,28 @@ edition = "2018" build = "build.rs" [dependencies] +toddle = { path = "../toddle", default-features = false } tide = { path = "../tide" } -toddle = { path = "../toddle" } 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" |
