diff --git a/Cargo.lock b/Cargo.lock index 103499498..0812856ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -84,9 +84,9 @@ 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 0.8.6", "axum-extra", @@ -94,7 +94,7 @@ dependencies = [ "cfg-if", "http 1.3.1", "indexmap 2.10.0", - "schemars", + "schemars 0.9.0", "serde", "serde_json", "serde_qs", @@ -1366,7 +1366,7 @@ dependencies = [ "hyper-util", "libsql", "parking_lot", - "schemars", + "schemars 1.1.0", "serde", "serde_json", "sha1", @@ -1419,7 +1419,7 @@ dependencies = [ "hyper 0.14.32", "pin-project 1.1.10", "regex", - "schemars", + "schemars 1.1.0", "serde", "serde_json", "tokio 1.46.1", @@ -5078,6 +5078,26 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "ref-cast" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" +dependencies = [ + "proc-macro2 1.0.95", + "quote 1.0.40", + "syn 2.0.104", +] + [[package]] name = "regex" version = "1.11.3" @@ -5494,14 +5514,28 @@ dependencies = [ [[package]] name = "schemars" -version = "0.8.22" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" dependencies = [ - "chrono", "dyn-clone", "indexmap 2.10.0", - "schemars_derive", + "ref-cast", + "schemars_derive 0.9.0", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9558e172d4e8533736ba97870c4b2cd63f84b382a3d6eb063da41b91cce17289" +dependencies = [ + "chrono", + "dyn-clone", + "ref-cast", + "schemars_derive 1.1.0", "serde", "serde_json", "uuid", @@ -5509,9 +5543,21 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.22" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5016d94c77c6d32f0b8e08b781f7dc8a90c2007d4e77472cc2807bc10a8438fe" +dependencies = [ + "proc-macro2 1.0.95", + "quote 1.0.40", + "serde_derive_internals", + "syn 2.0.104", +] + +[[package]] +name = "schemars_derive" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d" +checksum = "301858a4023d78debd2353c7426dc486001bddc91ae31a76fb1f55132f7e2633" dependencies = [ "proc-macro2 1.0.95", "quote 1.0.40", diff --git a/crates/devolutions-pedm-shared/Cargo.toml b/crates/devolutions-pedm-shared/Cargo.toml index ce457ce6a..1307ef074 100644 --- a/crates/devolutions-pedm-shared/Cargo.toml +++ b/crates/devolutions-pedm-shared/Cargo.toml @@ -16,7 +16,7 @@ serde_json = { version = "1.0", optional = true } tokio = { version = "1.45", features = ["net", "sync"], optional = true } glob = { version = "0.3", optional = true } regex = { version = "1.11", optional = true } -schemars = { version = "0.8", features = ["uuid1"], optional = true } +schemars = { version = "1", features = ["uuid1"], optional = true } windows-registry = { version = "0.5", optional = true } devolutions-pedm-client-http = { path = "./devolutions-pedm-client-http", optional = true } tower = { version = "0.3", optional = true } # old version required for OpenAPI generator diff --git a/crates/devolutions-pedm/Cargo.toml b/crates/devolutions-pedm/Cargo.toml index 31539a86c..3ba5f733f 100644 --- a/crates/devolutions-pedm/Cargo.toml +++ b/crates/devolutions-pedm/Cargo.toml @@ -18,7 +18,7 @@ chrono = { version = "0.4", features = ["serde"] } digest = "0.10" hyper = { version = "1.6", features = ["server"] } hyper-util = { version = "0.1", features = ["tokio"] } -schemars = { version = "0.8", features = ["chrono"] } +schemars = { version = "1", features = ["chrono04"] } serde = "1.0" serde_json = "1.0" sha1 = "0.10" @@ -32,7 +32,7 @@ devolutions-agent-shared = { path = "../devolutions-agent-shared" } camino = { version = "1", features = ["serde1"] } async-trait = "0.1" tracing = "0.1" -aide = { version = "0.14", features = ["axum", "axum-extra", "axum-json", "axum-tokio"] } +aide = { version = "0.15", features = ["axum", "axum-extra", "axum-json", "axum-tokio"] } tower-http = { version = "0.5", features = ["timeout"] } parking_lot = "0.12" cfg-if = "1.0"