From 0f88214617b8ff92dd875c40a4ba59aac4688359 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Wed, 11 Sep 2024 09:43:05 -0700 Subject: [PATCH] avoid deprecation warning --- parser/Cargo.toml | 2 +- parser/src/json.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/parser/Cargo.toml b/parser/Cargo.toml index d14f8754..cd8ca503 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -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" diff --git a/parser/src/json.rs b/parser/src/json.rs index 421efeb6..617b3a07 100644 --- a/parser/src/json.rs +++ b/parser/src/json.rs @@ -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" }))