diff --git a/Cargo.toml b/Cargo.toml index a9432ab63..27e4e1492 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,7 +108,7 @@ tokio-tungstenite = "0.20.0" # system dirs = "5" -fontdb = "0.15.0" # "0.15.0" +fontdb = "0.15.0" memmap2 = "0.9" notify = "6" path-clean = "1.0.1" diff --git a/compiler/Cargo.toml b/compiler/Cargo.toml index e67418e5d..83a153c11 100644 --- a/compiler/Cargo.toml +++ b/compiler/Cargo.toml @@ -24,7 +24,7 @@ flate2.workspace = true ecow.workspace = true instant.workspace = true strum.workspace = true -rayon.workspace = true +rayon = { workspace = true, optional = true } serde.workspace = true serde_json.workspace = true @@ -87,7 +87,7 @@ serde.workspace = true [features] cjk = [] emoji = [] -lazy-fontdb = [] +lazy-fontdb = ["dep:rayon"] system-compile = [ "dep:dirs", "dep:walkdir",