Provides a way to create and validate JSON schemas that can be modified using migrations.
Find a file
2023-11-06 09:20:22 +01:00
.github/workflows 👷 Add automatically generated CI workflow 2023-09-28 23:30:40 +02:00
src 🚧 Continue working on validators and migrations 2023-11-06 09:20:22 +01:00
.gitignore 🎉 Initial commit 2023-09-21 17:17:11 +02:00
Cargo.toml 🚧 Start reworking library setup 2023-10-24 20:17:14 +02:00
LICENSE 📄 Add MIT license 2023-09-28 23:29:32 +02:00
readme.md 📝 Update readme with updated goals 2023-10-24 20:18:21 +02:00

JSON Fields

Library for creating JSON schemas which support mutating the schema and the checked data using migrations.

Warning

This library is work in progress and should not be used in production yet.

Usage

Because this library is still work in progress, it's not available on crates.io yet. But if you want to play around with this unstable version, you can add this as a git dependency like so:

json_fields = { git = "https://github.com/Jumpdrive-dev/Json-Fields", rev = "<commit to use>" }

Features

This is a list of current and future features that this library supports:

  • Creating schemas by combining different fields.
  • Ability to change a schema and create migrations
  • Migrations are checked using the new resulting schema to ensure migrations result in the correct data shape.