From 73883e80df8e878ce504af731ae897473930d55b Mon Sep 17 00:00:00 2001 From: Sean Klein Date: Fri, 7 Jan 2022 10:03:10 -0500 Subject: [PATCH] Make use of the #derive(JsonSchema) addition to progenitor --- Cargo.toml | 3 +++ agent-client/Cargo.toml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 89fc2d890..58e87ea5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,3 +12,6 @@ members = [ "smf", "upstairs", ] + +[patch."https://github.com/oxidecomputer/progenitor"] +progenitor = { path = "../progenitor/progenitor" } diff --git a/agent-client/Cargo.toml b/agent-client/Cargo.toml index 7c06318f4..f19c2c10a 100644 --- a/agent-client/Cargo.toml +++ b/agent-client/Cargo.toml @@ -9,8 +9,9 @@ anyhow = "1.0" progenitor = { git = "https://github.com/oxidecomputer/progenitor" } reqwest = { version = "0.11", default-features = false, features = ["json"] } percent-encoding = "2.1.0" +schemars = "0.8" serde_json = "1.0" [dependencies.serde] version = "1.0" -features = [ "derive" ] \ No newline at end of file +features = [ "derive" ]