diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-09-29 00:09:41 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-09-29 00:09:41 +0200 |
| commit | 2760e111454bdfdaa049879edf7ccfdacc41dd3c (patch) | |
| tree | 9d34ce6ff9cbf72e26dd7ae95b4a6e1cb23ab41c /Cargo.toml | |
| parent | 0e89facb538a6ddd6890f2516f6d33059e7b3483 (diff) | |
Put rand behind layout cache feature
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ edition = "2018" default = ["cli", "fs", "layout-cache"] cli = ["anyhow", "codespan-reporting", "fs", "pico-args", "same-file"] fs = ["dirs", "memmap2", "same-file", "walkdir"] -layout-cache = [] +layout-cache = ["rand"] [profile.dev] # Faster compilation @@ -25,7 +25,6 @@ image = { version = "0.23", default-features = false, features = ["png", "jpeg"] itertools = "0.10" miniz_oxide = "0.4" pdf-writer = { git = "https://github.com/typst/pdf-writer", rev = "a750b66" } -rand = "0.8" rustybuzz = "0.4" serde = { version = "1", features = ["derive", "rc"] } ttf-parser = "0.12" @@ -37,6 +36,7 @@ codespan-reporting = { version = "0.11", optional = true } dirs = { version = "3", optional = true } memmap2 = { version = "0.3", optional = true } pico-args = { version = "0.4", optional = true } +rand = { version = "0.8", optional = true } same-file = { version = "1", optional = true } walkdir = { version = "2", optional = true } |
