From ef02a0a14bb5cb21dcfd8ac47b1ca848678f763e Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 22 Jul 2024 11:00:35 -0500 Subject: [PATCH] chore: Update schemars --- Cargo.lock | 8 ++++---- crates/trycmd/Cargo.toml | 2 +- crates/trycmd/schema.json | 5 +++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b333142c..44e1c4c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -705,9 +705,9 @@ dependencies = [ [[package]] name = "schemars" -version = "0.8.19" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc6e7ed6919cb46507fb01ff1654309219f62b4d603822501b0b80d42f6f21ef" +checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92" dependencies = [ "dyn-clone", "indexmap 1.9.3", @@ -718,9 +718,9 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.19" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "185f2b7aa7e02d418e453790dde16890256bbd2bcd04b7dc5348811052b53f49" +checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e" dependencies = [ "proc-macro2", "quote", diff --git a/crates/trycmd/Cargo.toml b/crates/trycmd/Cargo.toml index 69486a38..0f2c4597 100644 --- a/crates/trycmd/Cargo.toml +++ b/crates/trycmd/Cargo.toml @@ -61,7 +61,7 @@ humantime-serde = "1" toml_edit = { version = "0.22.13", features = ["serde"] } escargot = { version = "0.5.7", optional = true } -schemars = { version = "0.8.9", features = ["preserve_order"], optional = true } +schemars = { version = "0.8.21", features = ["preserve_order"], optional = true } serde_json = { version = "1.0", optional = true } [lints] diff --git a/crates/trycmd/schema.json b/crates/trycmd/schema.json index c7b67fcf..c88afc34 100644 --- a/crates/trycmd/schema.json +++ b/crates/trycmd/schema.json @@ -35,18 +35,21 @@ ] }, "stdin": { + "default": null, "type": [ "string", "null" ] }, "stdout": { + "default": null, "type": [ "string", "null" ] }, "stderr": { + "default": null, "type": [ "string", "null" @@ -71,6 +74,7 @@ "type": "boolean" }, "timeout": { + "default": null, "anyOf": [ { "$ref": "#/definitions/Duration" @@ -161,6 +165,7 @@ "type": "object", "properties": { "inherit": { + "default": null, "type": [ "boolean", "null"