[package]
name = "json-schema-validator-core"
version = "1.0.0"
edition = "2021"
description = "Lightning-fast JSON schema validation library with custom error messages and multi-language bindings"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-core-libs/json-schema-validator-core"
keywords = ["json", "schema", "validation", "performance", "ffi"]
categories = ["parsing", "data-structures", "web-programming"]
readme = "README.md"
documentation = "https://docs.rs/json-schema-validator-core"
exclude = [
"target/*",
"pkg/*",
".wasm-pack-log",
"node_modules/*",
"criterion/*",
"*.log",
".vscode/*",
".git/*"
]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
regex = "1.10"
url = "2.4"
wasm-bindgen = "0.2"
[dev-dependencies]
criterion = "0.5"
[[bench]]
name = "validation_benchmark"
harness = false
[features]
default = ["draft7"]
draft4 = []
draft6 = []
draft7 = []
draft2019-09 = []
draft2020-12 = []
[profile.release]
lto = true
codegen-units = 1
panic = "abort"