diff --git a/Cargo.lock b/Cargo.lock index 4cce831..f5a5620 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2210,9 +2210,9 @@ dependencies = [ [[package]] name = "jsonschema" -version = "0.28.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f66fe41fa46a5c83ed1c717b7e0b4635988f427083108c8cf0a882cc13441" +checksum = "3c59cb1733c34377b6067a0419befd7f25073c5249ec3b0614a482bf499e1df5" dependencies = [ "ahash 0.8.11", "base64 0.22.1", @@ -3559,13 +3559,14 @@ dependencies = [ [[package]] name = "referencing" -version = "0.28.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0dcb5ab28989ad7c91eb1b9531a37a1a137cc69a0499aee4117cae4a107c464" +checksum = "6ce52678d53e5ee37e4af0a9036ca834d0cd34b33c82457c6b06a24f8d783344" dependencies = [ "ahash 0.8.11", "fluent-uri", "once_cell", + "parking_lot", "percent-encoding", "serde_json", ] diff --git a/Cargo.toml b/Cargo.toml index 466ce1b..4685a8b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,7 @@ clap-verbosity-flag = "3" clap_complete = "4" clap_complete_nushell = "4" fuzzy-matcher = "0.3" -jsonschema = { version = "0.28", optional = true } +jsonschema = { version = "0.29", optional = true } open = "5" os_info = "3" rayon = { version = "1", optional = true } diff --git a/src/commands/validate/schema_validator.rs b/src/commands/validate/schema_validator.rs index 5878737..73b9bbc 100644 --- a/src/commands/validate/schema_validator.rs +++ b/src/commands/validate/schema_validator.rs @@ -257,7 +257,7 @@ fn process_anyof_error(err: &ValidationError<'_>) -> Option, + uri: &Uri, ) -> Result> { Ok(ASYNC_RUNTIME.block_on(cache_retrieve(uri))?) } } #[cached(result = true, key = "String", convert = r#"{ format!("{uri}") }"#)] -async fn cache_retrieve(uri: &Uri<&str>) -> miette::Result { +async fn cache_retrieve(uri: &Uri) -> miette::Result { let scheme = uri.scheme(); let path = uri.path();