From 38f37f1e71402f956b0d3c5e80fc96c440c42964 Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Sun, 11 Jul 2021 23:43:08 -0700 Subject: [PATCH] add serde to kurbo --- druid-shell/Cargo.toml | 1 + druid/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/druid-shell/Cargo.toml b/druid-shell/Cargo.toml index 8e2e33cf93..9dd2f15f05 100755 --- a/druid-shell/Cargo.toml +++ b/druid-shell/Cargo.toml @@ -36,6 +36,7 @@ tga = ["piet-common/tga"] farbfeld = ["piet-common/farbfeld"] dxt = ["piet-common/dxt"] hdr = ["piet-common/hdr"] +serde = ["kurbo/serde"] [dependencies] # NOTE: When changing the piet or kurbo versions, ensure that diff --git a/druid/Cargo.toml b/druid/Cargo.toml index 28e9b30c74..3fa24de346 100644 --- a/druid/Cargo.toml +++ b/druid/Cargo.toml @@ -26,7 +26,7 @@ image = ["druid-shell/image"] svg = ["usvg"] x11 = ["druid-shell/x11"] crochet = [] -serde = ["im/serde"] +serde = ["im/serde", "druid-shell/serde"] # passing on all the image features. AVIF is not supported because it does not # support decoding, and that's all we use `Image` for.