From 4fcb8d78ff2717843b4a6daec0919bd74797366b Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Mon, 29 Apr 2024 09:53:48 -0500 Subject: [PATCH] Eliminate default features for JSON samples (#3012) --- crates/samples/components/json_validator/Cargo.toml | 4 ++-- crates/samples/components/json_validator_winrt/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/samples/components/json_validator/Cargo.toml b/crates/samples/components/json_validator/Cargo.toml index 242fdb03e7..06da6d09de 100644 --- a/crates/samples/components/json_validator/Cargo.toml +++ b/crates/samples/components/json_validator/Cargo.toml @@ -8,8 +8,8 @@ publish = false crate-type = ["cdylib"] [dependencies] -jsonschema = "0.17" -serde_json = "1.0" +jsonschema = { version = "0.17", default-features = false } +serde_json = {version = "1.0", default-features = false } [dependencies.windows] path = "../../../libs/windows" diff --git a/crates/samples/components/json_validator_winrt/Cargo.toml b/crates/samples/components/json_validator_winrt/Cargo.toml index 2a287649f9..aaaaefadb3 100644 --- a/crates/samples/components/json_validator_winrt/Cargo.toml +++ b/crates/samples/components/json_validator_winrt/Cargo.toml @@ -9,8 +9,8 @@ name = "sample" crate-type = ["cdylib"] [dependencies] -jsonschema = "0.17" -serde_json = "1.0" +jsonschema = { version = "0.17", default-features = false } +serde_json = {version = "1.0", default-features = false } [dependencies.windows] path = "../../../libs/windows"