Skip to content

Commit 1cf3dfd

Browse files
fix(deps): Keep schemars at 0.8 for typify 0.6 compatibility
schemars 1.x removed `schema::RootSchema` and made the `schema` module private, breaking `tools/gen-types/src/main.rs` which uses both `RootSchema` and `Schema`. typify 0.6 still requires schemars 0.8, so we cannot upgrade the schemars dependency in gen-types until typify ships a release compatible with schemars 1.x. Keeps the serde_json 1.0.149 → 1.0.150 bump from this PR. Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>
1 parent 51c52fe commit 1cf3dfd

2 files changed

Lines changed: 4 additions & 49 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/gen-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "Internal codegen binary: turns openapi.yaml schemas into src/gene
88
[dependencies]
99
anyhow = "1"
1010
prettyplease = "0.2"
11-
schemars = "1.2"
11+
schemars = "0.8"
1212
serde_json = "1"
1313
serde_yaml = "0.9"
1414
syn = { version = "2", features = ["full"] }

0 commit comments

Comments
 (0)