From fee3320af5efbd34207013fb0efcf6f88564259d Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 5 Jun 2025 19:36:44 +0000 Subject: [PATCH 1/2] build: upgrade schemars to 0.9.0 --- examples/axum/Cargo.toml | 2 +- examples/tide/Cargo.toml | 2 +- yerpc/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/axum/Cargo.toml b/examples/axum/Cargo.toml index 214fd67..1d700af 100644 --- a/examples/axum/Cargo.toml +++ b/examples/axum/Cargo.toml @@ -24,5 +24,5 @@ tokio = { version = "1.43.0", features = ["full"] } tower-http = { version = "0.5.2", features = ["trace"] } tracing = "0.1.41" tracing-subscriber = "0.3.19" -schemars = "0.8.21" +schemars = "0.9.0" yerpc = { path = "../../yerpc", features = ["anyhow", "support-axum"]} diff --git a/examples/tide/Cargo.toml b/examples/tide/Cargo.toml index f89fe4c..14e8a39 100644 --- a/examples/tide/Cargo.toml +++ b/examples/tide/Cargo.toml @@ -20,7 +20,7 @@ async-std = { version = "1.11.0", features = ["attributes"] } futures = "0.3.31" env_logger = "0.9.0" log = "0.4.25" -schemars = "0.8.22" +schemars = "0.9.0" async-trait = "0.1.53" typescript-type-def = { version = "0.5.13", features = ["json_value"] } async-broadcast = "0.4.0" diff --git a/yerpc/Cargo.toml b/yerpc/Cargo.toml index 8c35531..4e3d46e 100644 --- a/yerpc/Cargo.toml +++ b/yerpc/Cargo.toml @@ -28,7 +28,7 @@ serde = { version = "1.0.217", features = ["derive"] } # type generating dependencies typescript-type-def = { version = "0.5.13", features = ["json_value"] } -schemars = { version = "0.8.21", optional = true } +schemars = { version = "0.9.0", optional = true } # optional dependencies anyhow = { version = "1.0.95", optional = true } From 6c82864ab42f950bd9d2ea0c31e8974ef66201a9 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 9 Jul 2025 20:57:41 +0000 Subject: [PATCH 2/2] build: upgrade schemars to 1.x --- examples/axum/Cargo.toml | 2 +- examples/tide/Cargo.toml | 2 +- yerpc/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/axum/Cargo.toml b/examples/axum/Cargo.toml index 1d700af..72ac655 100644 --- a/examples/axum/Cargo.toml +++ b/examples/axum/Cargo.toml @@ -24,5 +24,5 @@ tokio = { version = "1.43.0", features = ["full"] } tower-http = { version = "0.5.2", features = ["trace"] } tracing = "0.1.41" tracing-subscriber = "0.3.19" -schemars = "0.9.0" +schemars = "1" yerpc = { path = "../../yerpc", features = ["anyhow", "support-axum"]} diff --git a/examples/tide/Cargo.toml b/examples/tide/Cargo.toml index 14e8a39..fcfa59f 100644 --- a/examples/tide/Cargo.toml +++ b/examples/tide/Cargo.toml @@ -20,7 +20,7 @@ async-std = { version = "1.11.0", features = ["attributes"] } futures = "0.3.31" env_logger = "0.9.0" log = "0.4.25" -schemars = "0.9.0" +schemars = "1" async-trait = "0.1.53" typescript-type-def = { version = "0.5.13", features = ["json_value"] } async-broadcast = "0.4.0" diff --git a/yerpc/Cargo.toml b/yerpc/Cargo.toml index 4e3d46e..a221c34 100644 --- a/yerpc/Cargo.toml +++ b/yerpc/Cargo.toml @@ -28,7 +28,7 @@ serde = { version = "1.0.217", features = ["derive"] } # type generating dependencies typescript-type-def = { version = "0.5.13", features = ["json_value"] } -schemars = { version = "0.9.0", optional = true } +schemars = { version = "1", optional = true } # optional dependencies anyhow = { version = "1.0.95", optional = true }