From 5d2228999ba90f678bec05a3facf1927e64a40a7 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 12 Mar 2023 14:46:10 -0400 Subject: [PATCH] Include Derive feature with optional Serde dependency --- core/Cargo.toml | 2 +- parser/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index 4df8932..79622a9 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -13,6 +13,6 @@ bstr = { workspace = true } itertools = { workspace = true } num-bigint = { workspace = true } num-complex = { workspace = true } -serde = { version = "1.0.133", optional = true, default-features = false } +serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] } lz4_flex = "0.9.2" diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 4ff560a..1cb8074 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -34,7 +34,7 @@ unic-ucd-ident = "0.9.0" lalrpop-util = "0.19.8" phf = "0.11.1" rustc-hash = "1.1.0" -serde = { version = "1.0.133", optional = true, default-features = false } +serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] } [dev-dependencies] insta = { workspace = true }