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.