diff --git a/Cargo.lock b/Cargo.lock index 6caad97..92d12fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,16 +13,16 @@ dependencies = [ [[package]] name = "aide" -version = "0.14.2" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2477554ebf38aea815a9c4729100cfc32f766876c45b9c9c38ef221b9d1a703" +checksum = "6966317188cdfe54c58c0900a195d021294afb3ece9b7073d09e4018dbb1e3a2" dependencies = [ "axum", "bytes", "cfg-if", "http", "indexmap", - "schemars", + "schemars 0.9.0", "serde", "serde_json", "serde_qs", @@ -615,7 +615,7 @@ name = "now-policy" version = "0.2.0" dependencies = [ "chrono", - "schemars", + "schemars 0.8.22", "semver", "serde", "serde_json", @@ -631,7 +631,7 @@ dependencies = [ "chrono", "derive_more", "now-policy", - "schemars", + "schemars 0.8.22", "semver", "serde", "serde_json", @@ -648,7 +648,7 @@ dependencies = [ "axum", "now-policy", "now-policy-api", - "schemars", + "schemars 0.8.22", "serde", "serde_json", "serde_yaml", @@ -748,6 +748,26 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "ref-cast" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "216e8f773d7923bcba9ceb86a86c93cabb3903a11872fc3f138c49630e50b96d" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9283685feec7d69af75fb0e858d5e7378f33fe4fc699383b2916ab9273e03c" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.3", +] + [[package]] name = "regex" version = "1.13.1" @@ -840,9 +860,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" dependencies = [ "chrono", + "dyn-clone", + "schemars_derive 0.8.22", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ "dyn-clone", "indexmap", - "schemars_derive", + "ref-cast", + "schemars_derive 0.9.0", "serde", "serde_json", ] @@ -859,6 +892,18 @@ dependencies = [ "syn 2.0.119", ] +[[package]] +name = "schemars_derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5016d94c77c6d32f0b8e08b781f7dc8a90c2007d4e77472cc2807bc10a8438fe" +dependencies = [ + "proc-macro2", + "quote", + "serde_derive_internals", + "syn 2.0.119", +] + [[package]] name = "semver" version = "1.0.28" diff --git a/policies/rust/now-policy-server-template/Cargo.toml b/policies/rust/now-policy-server-template/Cargo.toml index f8b03f5..520b92b 100644 --- a/policies/rust/now-policy-server-template/Cargo.toml +++ b/policies/rust/now-policy-server-template/Cargo.toml @@ -18,7 +18,7 @@ default = [] policy-compat = ["dep:now-policy", "now-policy-api/policy-compat"] [dependencies] -aide = { version = "0.14", features = ["axum", "axum-json"] } +aide = { version = "0.15", features = ["axum", "axum-json"] } async-trait = "0.1" axum = { version = "0.8", default-features = false, features = ["json"] } now-policy-api = { version = "0.3", path = "../now-policy-api" }