Skip to content

Commit

Permalink
avoid deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Sep 11, 2024
1 parent 748eb6d commit 0f88214
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ serde_json = { version = "1.0.108", features = ["preserve_order"] }
anyhow = "1.0.75"
rustc-hash = "2.0.0"
instant = "0.1.13"
jsonschema = { version = "0.18.1", default-features = false }
jsonschema = { version = "0.18.2", default-features = false }
url = "2.5.2"
lazy_static = "1.5.0"

Expand Down
1 change: 0 additions & 1 deletion parser/src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ lazy_static! {
jsonschema::JSONSchema::options()
.with_draft(jsonschema::Draft::Draft7)
.with_resolver(DummyResolver {})
.with_meta_schemas()
.compile(&json!({
"$ref": "http://json-schema.org/draft-07/schema"
}))
Expand Down

0 comments on commit 0f88214

Please sign in to comment.