From 684657b0d618230f991123dbc83f039cb39da30f Mon Sep 17 00:00:00 2001 From: Ferran Borreguero Date: Thu, 21 May 2026 11:57:49 +0200 Subject: [PATCH] Move serde to workspace --- Cargo.toml | 2 ++ crates/pine-ast/Cargo.toml | 2 +- crates/pine-parser/Cargo.toml | 6 +++--- crates/pine-reference/Cargo.toml | 9 +++++---- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 09b5bda..46e02fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,3 +29,5 @@ pine-reference = { path = "crates/pine-reference" } eyre = "0.6" thiserror = "2.0" clap = { version = "4.5", features = ["derive"] } +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" diff --git a/crates/pine-ast/Cargo.toml b/crates/pine-ast/Cargo.toml index 9092ef3..5cc272f 100644 --- a/crates/pine-ast/Cargo.toml +++ b/crates/pine-ast/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" edition = "2021" [dependencies] -serde = { version = "1.0", features = ["derive"] } +serde.workspace = true diff --git a/crates/pine-parser/Cargo.toml b/crates/pine-parser/Cargo.toml index 8de5d99..e43f2f0 100644 --- a/crates/pine-parser/Cargo.toml +++ b/crates/pine-parser/Cargo.toml @@ -12,9 +12,9 @@ pine-lexer.workspace = true pine-ast.workspace = true eyre.workspace = true clap.workspace = true -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" -thiserror = "2.0" +serde.workspace = true +serde_json.workspace = true +thiserror.workspace = true [dev-dependencies] walkdir = "2" diff --git a/crates/pine-reference/Cargo.toml b/crates/pine-reference/Cargo.toml index 7a41866..655de08 100644 --- a/crates/pine-reference/Cargo.toml +++ b/crates/pine-reference/Cargo.toml @@ -4,14 +4,15 @@ version = "0.1.0" edition = "2021" [dependencies] -tokio = { version = "1", features = ["full"] } -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" +serde.workspace = true +serde_json.workspace = true eyre.workspace = true +clap.workspace = true + +tokio = { version = "1", features = ["full"] } headless_chrome = "1.0" htmd = "0.5" scraper = "0.17" -clap.workspace = true comrak = "0.28" [[bin]]