diff --git a/Cargo.lock b/Cargo.lock index 73d16485b..53427f917 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -46,7 +46,7 @@ checksum = "6966317188cdfe54c58c0900a195d021294afb3ece9b7073d09e4018dbb1e3a2" dependencies = [ "cfg-if", "indexmap", - "schemars", + "schemars 0.9.0", "serde", "serde_json", "thiserror 2.0.17", @@ -688,7 +688,7 @@ dependencies = [ "redis", "reqwest", "rustversion", - "schemars", + "schemars 1.1.0", "sea-query", "sea-query-binder", "serde", @@ -1248,7 +1248,7 @@ name = "example-json" version = "0.1.0" dependencies = [ "cot", - "schemars", + "schemars 1.1.0", "serde", ] @@ -3014,7 +3014,20 @@ dependencies = [ "dyn-clone", "indexmap", "ref-cast", - "schemars_derive", + "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 = [ + "dyn-clone", + "ref-cast", + "schemars_derive 1.1.0", "serde", "serde_json", ] @@ -3031,6 +3044,18 @@ dependencies = [ "syn", ] +[[package]] +name = "schemars_derive" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "301858a4023d78debd2353c7426dc486001bddc91ae31a76fb1f55132f7e2633" +dependencies = [ + "proc-macro2", + "quote", + "serde_derive_internals", + "syn", +] + [[package]] name = "scopeguard" version = "1.2.0" diff --git a/Cargo.toml b/Cargo.toml index 421cc2fad..c1a743b52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -112,7 +112,7 @@ rand = { version = "0.9", default-features = false } redis = { version = "0.32", default-features = false } reqwest = { version = "0.12", default-features = false } rustversion = "1" -schemars = { version = "0.9", default-features = false } +schemars = { version = "1.1", default-features = false } sea-query = { version = "0.32", default-features = false } sea-query-binder = { version = "0.7", default-features = false } serde = "1" diff --git a/examples/json/Cargo.toml b/examples/json/Cargo.toml index 8f921cddc..b307bfefd 100644 --- a/examples/json/Cargo.toml +++ b/examples/json/Cargo.toml @@ -9,4 +9,4 @@ edition = "2024" [dependencies] cot = { path = "../../cot", features = ["openapi", "swagger-ui"] } serde = "1" -schemars = "0.9" +schemars = "1.1"