Skip to content

Commit 2a47a2e

Browse files
authored
Merge pull request #2160 from axodotdev/dependabot/cargo/main/schemars-1.0.4
chore(deps): bump schemars from 0.8.22 to 1.0.4
2 parents db43d5f + 28ce3b7 commit 2a47a2e

File tree

4 files changed

+436
-418
lines changed

4 files changed

+436
-418
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ flate2 = "1.1.5"
6161
pathdiff = { version = "0.2.3", features = ["camino"] }
6262
url = "2.5.7"
6363
parse-changelog = "0.6.14"
64-
schemars = "0.8.22"
64+
schemars = "1.0.4"
6565
spdx = "0.12.0"
6666
base64 = "0.22.1"
6767
lazy_static = "1.5.0"

cargo-dist-schema/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ impl DistManifest {
953953
}
954954

955955
/// Get the JSON Schema for a DistManifest
956-
pub fn json_schema() -> schemars::schema::RootSchema {
956+
pub fn json_schema() -> schemars::Schema {
957957
schemars::schema_for!(DistManifest)
958958
}
959959

0 commit comments

Comments
 (0)