From 0369a3963eafd457753686fc616d0291d782653c Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin Date: Tue, 7 Nov 2023 04:45:06 +0800 Subject: [PATCH] build: update deps --- Cargo.toml | 2 +- compiler/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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",