jsonschema-rs/jsonschema/Cargo.toml

78 lines
2.0 KiB
TOML

[package]
authors = ["dmitry.dygalo <dadygalo@gmail.com>"]
description = "A crate for performing JSON schema validation"
edition = "2021"
exclude = ["tests", "python", "benches/data/*.json", ".github", ".yamllint", ".pre-commit-config.yaml", ".gitignore", ".gitmodules", "*.md"]
keywords = ["jsonschema", "validation"]
license = "MIT"
name = "jsonschema"
readme = "../README.md"
repository = "https://github.com/Stranger6667/jsonschema-rs"
version = "0.16.0"
categories = ["web-programming"]
[[bin]]
name = "jsonschema"
[features]
cli = ["clap"]
default = ["resolve-http", "resolve-file", "cli"]
draft201909 = []
draft202012 = []
resolve-http = ["reqwest"]
resolve-file = []
[dependencies]
ahash = { version = "0.8", features = ["serde"] }
anyhow = "1.0"
base64 = "0.13"
bytecount = { version = "0.6", features = ["runtime-dispatch-simd"] }
clap = { version = "4.0", features = ["derive"], optional = true }
fancy-regex = "0.10"
fraction = { version = "0.12", default-features = false, features = ["with-bigint"] }
iso8601 = "0.5"
itoa = "1"
lazy_static = "1.4"
memchr = "2.5"
num-cmp = "0.1"
parking_lot = "0.12"
percent-encoding = "2.1"
regex = "1.6"
reqwest = { version = "0.11", features = ["blocking", "json"], default-features = false, optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
time = { version = "0.3", features = ["parsing", "macros"] }
url = "2.2"
uuid = "1"
[dev-dependencies]
bench_helpers = { path = "../bench_helpers" }
criterion = { version = "0.4.0", features = [], default-features = false }
json_schema_test_suite = { version = "0.3.0", path = "../jsonschema-test-suite" }
jsonschema-valid = "0.5"
mockito = "0.31"
paste = "1.0"
test-case = "2"
valico = "3.6"
# Benchmarks for `jsonschema`
[[bench]]
harness = false
name = "jsonschema"
# Benchmarks for `valico`
[[bench]]
harness = false
name = "valico"
# Benchmarks for `jsonschema_valid`
[[bench]]
harness = false
name = "jsonschema_valid"
[profile.release]
codegen-units = 1
lto = "on"