https://github.com/chanced/grill
https://github.com/chanced/grill
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chanced/grill
- Owner: chanced
- License: apache-2.0
- Created: 2023-05-09T22:37:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T23:19:06.000Z (about 1 year ago)
- Last Synced: 2026-01-31T03:11:32.090Z (4 months ago)
- Language: Rust
- Size: 2.05 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# grill
Interrogate your data with [JSON Schema](https://json-schema.org/) or roll your
own schema language.
## Table of contents
- [High level features & attractions](#high-level-features--attractions)
- [Compatibility](#compatibility)
- [Installation](#installation)
- [Feature flags](#feature-flags)
- [Example](#example)
- [Dependencies](#dependencies)
## High level features & attractions
- Full support for JSON Schema
[Draft 2020-12](https://json-schema.org/specification-links#2020-12),
[Draft 2019-09](),
[Draft 07](https://json-schema.org/specification-links#draft-7), and
[Draft 04](https://json-schema.org/specification-links#draft-4)
- Rest easier with immutable schemas.
- Modify or roll your own `Dialect`.
- Hassle free source resolution with custom `Resolver` implementations.
- Easily translate or customize validation error messages.
- Dial in output noise with 4 levels of granularity per the current [JSON
Schema (2020-12) recommendation
structures](https://json-schema.org/draft/2020-12/json-schema-core#name-output-formats).
- Confidently compare massive to minuscule numbers - they are all parsed as
`BigRational`s.
- Conserve bits with `Value`s and `BigRational`s caches.
## Compatibility
grill requires `std` and an `async` runtime to support `Resolver`s.
## Installation
From your favorite terminal at your project's root:
```bash
▶ cargo add grill
```