diff --git a/Cargo.toml b/Cargo.toml index 59cd5a8b..6aa4cddb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,7 @@ geo-types = "0.7.15" geoarrow = "0.4.0-beta.3" geojson = "0.24.1" http = "1.1" -jsonschema = { version = "0.28.3", default-features = false } +jsonschema = { version = "0.29.0", default-features = false } libduckdb-sys = "=1.1.1" log = "0.4.25" mime = "0.3.17" diff --git a/crates/core/src/validate/validator.rs b/crates/core/src/validate/validator.rs index 54e61713..e3c9d0b3 100644 --- a/crates/core/src/validate/validator.rs +++ b/crates/core/src/validate/validator.rs @@ -29,8 +29,8 @@ impl Validator { /// let validator = Validator::new().unwrap(); /// ``` pub fn new() -> Result { - let mut validation_options = jsonschema::options(); - let _ = validation_options + let validation_options = jsonschema::options(); + let validation_options = validation_options .with_resources(prebuild_resources().into_iter()) .with_retriever(Retriever( Client::builder().user_agent(crate::user_agent()).build()?, @@ -213,7 +213,7 @@ impl Validator { impl Retrieve for Retriever { fn retrieve( &self, - uri: &Uri<&str>, + uri: &Uri, ) -> std::result::Result> { let response = self.0.get(uri.as_str()).send()?.error_for_status()?; let value = response.json()?;