From 895a38b4dfcbd5388f93498f5a0a89ecb5e5765a Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Wed, 27 Nov 2024 12:54:24 +0000 Subject: [PATCH] Tidy up serde_json --- Cargo.toml | 1 + shaperglot-cli/Cargo.toml | 2 +- shaperglot-lib/Cargo.toml | 2 +- shaperglot-web/Cargo.toml | 6 +++--- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae49871..7f855bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,3 +11,4 @@ skrifa = "0" itertools = "0.13.0" google-fonts-languages = "*" toml = "0.8.19" +serde_json = { version = "1.0.96", features = ["preserve_order"] } \ No newline at end of file diff --git a/shaperglot-cli/Cargo.toml b/shaperglot-cli/Cargo.toml index b46c974..4319646 100644 --- a/shaperglot-cli/Cargo.toml +++ b/shaperglot-cli/Cargo.toml @@ -14,5 +14,5 @@ skrifa = { workspace = true } read-fonts = { workspace = true } itertools = { workspace = true } clap = { version = "4.5.21", features = ["derive"] } -serde_json = "1.0.70" +serde_json = { workspace = true } toml = {workspace = true } \ No newline at end of file diff --git a/shaperglot-lib/Cargo.toml b/shaperglot-lib/Cargo.toml index 7e06698..785c1d7 100644 --- a/shaperglot-lib/Cargo.toml +++ b/shaperglot-lib/Cargo.toml @@ -16,7 +16,7 @@ google-fonts-languages = "*" skrifa = { workspace = true } itertools = {workspace = true} rustybuzz = "0.18.0" -serde_json = "1.0" +serde_json = { workspace = true } unicode-normalization = "*" colored = { version = "*", optional = true } unicode-properties = "0.1.3" diff --git a/shaperglot-web/Cargo.toml b/shaperglot-web/Cargo.toml index c9a666b..7cf19ae 100644 --- a/shaperglot-web/Cargo.toml +++ b/shaperglot-web/Cargo.toml @@ -8,9 +8,9 @@ wasm-bindgen = { version = "0.2.95" } console_error_panic_hook = { version = "0.1.7" } js-sys = { version = "0.3.72" } shaperglot = { path = "../shaperglot-lib" } -read-fonts = {workspace = true } -skrifa = {workspace = true } -serde_json = { version = "1.0.96", features = ["preserve_order"] } +read-fonts = { workspace = true } +skrifa = { workspace = true } +serde_json = { workspace = true } indexmap = { version = "1.9", features = ["serde-1"] } google-fonts-languages = { workspace = true }