From f305d51eeac70f79bde5e8d5f4fa313a29d00b33 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 24 Oct 2024 23:15:33 +0200 Subject: [PATCH] chore: Re-export referencing::Error Signed-off-by: Dmitry Dygalo --- CHANGELOG.md | 4 ++++ crates/jsonschema/src/lib.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dee909b..403650d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Fixed + +- Re-export `referencing::Error` as `ReferencingError`. [#614](https://github.com/Stranger6667/jsonschema-rs/issues/614) + ## [0.25.0] - 2024-10-24 **Important:** This release removes deprecated old APIs. See the [Migration Guide](MIGRATION.md) for details on transitioning to the new API. diff --git a/crates/jsonschema/src/lib.rs b/crates/jsonschema/src/lib.rs index 21ce1417..44e21f12 100644 --- a/crates/jsonschema/src/lib.rs +++ b/crates/jsonschema/src/lib.rs @@ -482,7 +482,7 @@ pub use error::{ErrorIterator, ValidationError}; pub use keywords::custom::Keyword; pub use options::ValidationOptions; pub use output::BasicOutput; -pub use referencing::{Draft, Resource, Retrieve, Uri}; +pub use referencing::{Draft, Error as ReferencingError, Resource, Retrieve, Uri}; pub use validator::Validator; use serde_json::Value;