Commit Graph

186 Commits

Author SHA1 Message Date
Dmitry Dygalo cfab6027a1 perf: Avoid allocations while constructing path segments
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-03 20:46:44 +02:00
Dmitry Dygalo e564888da5 feat(python): Custom format checkers
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-02 00:02:22 +02:00
Dmitry Dygalo 146f6cde42
docs: Update README
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-01 18:34:41 +02:00
Sam Roberts aa94a4b24a
feat: Custom keyword validation (#473)
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
Co-authored-by: Benjamin Tobler <ben@tobler.nz>
Co-authored-by: Benjamin Tobler <benjamin.tobler@stedi.com>
Co-authored-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-01 18:16:08 +02:00
Dmitry Dygalo cd0b70a49a chore: Expose JsonPointerNode
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-01 14:03:03 +02:00
Joel Natividad 6cf82328e3 chore: bump reqwest from 0.11 to 0.12 2024-04-14 21:01:58 +02:00
Dmitry Dygalo 9aae87e573 build: Update builds
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-04-14 18:24:03 +02:00
Dmitry Dygalo e2e06895e4 chore: Update more dependencies
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 01:03:09 +01:00
Joel Natividad 710f7700f0
chore: Bump dependencies 2024-03-03 00:21:12 +01:00
Dmitry Dygalo c7ca4119ba chore: fix clippy
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-02 23:54:00 +01:00
John Vandenberg 8dc33ea41a
chore: Fix typos (#447) 2024-01-16 08:00:33 +01:00
Dmitry Dygalo 8a2fa1f5a6
chore(rust): Release 0.17.1
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2023-07-05 11:43:48 +02:00
Dmitry Dygalo a9f05e69f4 chore: update criterion 2023-07-05 11:35:05 +02:00
Toby Lawrence fde9c4405c
fix: `unevaluatedProperties` doesn't correctly handle subschema validation (#423)
* fix: unevaluatedProperties doesn't correctly handle subschema validation

* fix clippy lints and feature flag stuff

* trying to optimize slightly

* tweak

* make additionalProperties a first-class subvalidator
2023-07-05 10:53:33 +02:00
Iliia Maleki 066a0da459
feat: improved error messages clarity (#430)
* feat: improved error messages clarity

* fix: edited test cases to match the new wording

* squash! feat: improved error messages clarity
2023-06-09 09:35:52 +02:00
Dmitry Dygalo 4179972bac
chore(rust): Release 0.17.0 2023-03-16 13:09:43 +01:00
Dmitry Dygalo 1ae6be9eb8
chore: Fix `clippy` 2023-03-16 08:43:49 +01:00
Toby Lawrence 63494600b8 feat: add support for unevaluatedProperties to draft 2019-09 and 2020-12 2023-03-16 08:37:59 +01:00
Dmitry Dygalo 848b7b1284 chore: Update `iso8601` to `0.6` 2023-02-25 17:38:53 +01:00
Dmitry Dygalo cc5de11669 chore: Fix clippy warnings 2023-01-29 13:56:08 +01:00
Dmitry Dygalo 5553600d66 chore(rust): Replace `lazy_static` with `once_cell` 2023-01-15 11:26:52 +01:00
Dmitry Dygalo e6a3d749a4 chore(rust): Update dependencies 2023-01-15 02:00:57 +01:00
Sam Wilson 4fc6181b27
build: Support building on `wasm32-unknown-unknown` without default features
* Don't depend on a particular ahash rng

* chore: Use `getrandom/js` on `wasm32`

* ci: Run `cargo build` for `wasm32-unknown-unknown`

Co-authored-by: Dmitry Dygalo <dmitry@dygalo.dev>
2023-01-14 23:40:07 +01:00
Dmitry Dygalo f44f195dc1 chore: Fix clippy 2022-11-21 14:10:33 +01:00
Daniel Bauman 75f050da25 chore: remove deprecated epsilon reference
See https://doc.rust-lang.org/std/f64/constant.EPSILON.html
Updated to https://doc.rust-lang.org/std/primitive.f64.html#associatedconstant.EPSILON
2022-11-21 10:12:19 +01:00
Dmitry Dygalo ec4f35f63a
chore(rust): Release 0.16.1 2022-10-20 16:16:48 +02:00
Dmitry Dygalo 3a5b7e95c8 chore: Update dependencies 2022-10-20 16:09:41 +02:00
Joel Natividad 06c7a31d23
chore: bump fraction from 0.10.0 to 0.11.0 (#381)
* bump fraction from 0.10.0 to 0.11.0

* Update dependencies, remove patch version no

Co-authored-by: Dmitry Dygalo <Stranger6667@users.noreply.github.com>
2022-10-18 23:34:08 +02:00
Expyron 07be2ffaf1
chore: Replace `structopt` with `clap` (#384) 2022-10-18 23:19:53 +02:00
Dmitry Dygalo 54ff9b46a6 chore: Fix clippy 2022-10-18 22:52:16 +02:00
Pawel Iwan 71a511d634 feat: optional unknown formats as compilation error 2022-06-23 12:04:41 +02:00
Dmitry Dygalo a5cd893363 chore: Update `fancy_regex` from `0.9.0` to `0.10.0` 2022-05-12 16:26:36 +02:00
Joel Natividad 0ea012d422 chore: update dependencies
- fancy_regex from 0.8.0 to 0.9.0
- uuid from 0.8.2 to 1.0.0
2022-04-25 18:48:37 +02:00
Dmitry Dygalo 9e08193fed chore: Fix various clippy warnings 2022-04-25 12:24:37 +02:00
Dmitry Dygalo 10530eccdd
chore(rust): Release 0.16.0 2022-04-21 17:33:39 +02:00
Dmitry Dygalo 233e1a0a41 fix: Various compilation issues
Ref: #356 #358
2022-04-21 17:11:08 +02:00
Dmitry Dygalo e2d09aa932
chore(rust): Release 0.15.2 2022-04-10 23:32:39 +02:00
Dmitry Dygalo 4a07ba9a82
chore: Update to Rust 2021 edition in all crates 2022-04-10 23:31:34 +02:00
Dmitry Dygalo ce86e0e29b
chore: Run `cargo fmt` 2022-04-10 23:25:56 +02:00
Joel Natividad 293d517331 Allow URL schema resolving with rustls TLS
Fixes #353
2022-04-10 23:23:55 +02:00
Dmitry Dygalo 044935d724
chore(rust): Release 0.15.1 2022-04-02 18:21:40 +02:00
Dmitry Dygalo ff8d2bebd9 chore: Update `test-case` dev dependency 2022-04-02 18:19:20 +02:00
Dmitry Dygalo dd9b95e3d6 fix: Enable `reqwest/native-tls` by default to avoid validation errors caused by `reqwest` missing a TLS backend 2022-04-02 17:50:14 +02:00
FujiApple c4295f5a45 fix!: specify precise dependency versions in `Cargo.toml` and upgrade all versions 2022-04-02 16:54:07 +02:00
Dmitry Dygalo 5f52908009
chore(rust): Release 0.15.0 2022-01-31 11:51:20 +01:00
Ferenc Tamás b43b0e9eb1
feat: Custom Resolvers for external references (#246)
* feat: resolver

* chore: rustfmt

* chore: even more rustfmt

* chore: relax anyhow version requirement

* chore: restore url dependency requirement

* fix(resolver): jsonschema/src/resolver.rs typo

Co-authored-by: Dmitry Dygalo <Stranger6667@users.noreply.github.com>

* fix(resolver): python binding

* feat(resolver): include original ref string, docs

* feat(resolver): reqwest feature compile error

* chore(resolver): changelog

* fix(*): clippy

* fix(resolver): doctest example

* feat(resolver): reqwest feature compile error

* chore(resolver): changelog

* fix(*): clippy

* fix(resolver): doctest example
2022-01-31 11:33:17 +01:00
Dmitry Dygalo edbccd6f30 chore: Run `cargo fmt` 2022-01-28 12:54:16 +01:00
Dmitry Dygalo 7b9e5a9b40 chore(cli): Use `to_string_lossy()` instead of `to_str().unwrap()` 2022-01-28 12:54:16 +01:00
Dmitry Dygalo 3c17261145 chore(cli): Use `serde::from_reader` instead of `serde::from_str` 2022-01-28 12:54:16 +01:00
Dmitry Dygalo 99fdd4a812
chore(rust): Release 0.14.0 2022-01-23 17:28:36 +01:00