[package]
name = "shape-schema"
version = "0.2.1"
edition = "2021"
rust-version = "1.75"
description = "Schema-by-example validation: your schema looks like your data. The Rust port of shape, held to the canonical TypeScript by a shared corpus."
license = "MIT"
repository = "https://github.com/rjrodger/shape"
homepage = "https://rjrodger.github.io/shape/"
documentation = "https://docs.rs/shape-schema"
readme = "README.md"
keywords = ["validation", "schema", "json", "validator", "json-schema"]
categories = ["data-structures", "parsing", "encoding"]
include = ["src/**", "Cargo.toml", "README.md", "cover.sh"]
[lib]
name = "shape"
[dependencies]
indexmap = "2"
regex = "1"
num-bigint = "0.4"
serde = { version = "1", optional = true }
serde_json = { version = "1", features = ["preserve_order", "float_roundtrip"], optional = true }
[dev-dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order", "float_roundtrip"] }
[features]
default = ["serde"]
serde = ["dep:serde", "dep:serde_json"]