2020-03-04 14:07:40 +00:00
|
|
|
[package]
|
2020-03-29 09:00:46 +00:00
|
|
|
authors = ["dmitry.dygalo <dadygalo@gmail.com>"]
|
2021-10-28 06:06:48 +00:00
|
|
|
description = "A crate for performing JSON schema validation"
|
2022-04-10 21:31:34 +00:00
|
|
|
edition = "2021"
|
2021-10-28 06:06:48 +00:00
|
|
|
exclude = ["tests", "python", "benches/data/*.json", ".github", ".yamllint", ".pre-commit-config.yaml", ".gitignore", ".gitmodules", "*.md"]
|
|
|
|
keywords = ["jsonschema", "validation"]
|
2020-03-29 09:04:19 +00:00
|
|
|
license = "MIT"
|
2021-10-28 06:06:48 +00:00
|
|
|
name = "jsonschema"
|
2021-01-29 18:04:40 +00:00
|
|
|
readme = "../README.md"
|
2020-03-29 09:04:19 +00:00
|
|
|
repository = "https://github.com/Stranger6667/jsonschema-rs"
|
2022-04-21 15:33:39 +00:00
|
|
|
version = "0.16.0"
|
2021-07-13 15:36:45 +00:00
|
|
|
|
2020-03-29 09:04:19 +00:00
|
|
|
categories = ["web-programming"]
|
2020-03-04 14:07:40 +00:00
|
|
|
|
2020-10-09 16:28:37 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "jsonschema"
|
|
|
|
|
2020-10-06 20:50:49 +00:00
|
|
|
[features]
|
2020-10-09 16:28:37 +00:00
|
|
|
cli = ["structopt"]
|
2022-01-31 10:33:17 +00:00
|
|
|
default = ["resolve-http", "resolve-file", "cli"]
|
2021-08-03 15:25:49 +00:00
|
|
|
draft201909 = []
|
2021-10-24 14:17:20 +00:00
|
|
|
draft202012 = []
|
2022-01-31 10:33:17 +00:00
|
|
|
|
2022-04-21 09:22:28 +00:00
|
|
|
resolve-http = ["reqwest"]
|
2022-01-31 10:33:17 +00:00
|
|
|
resolve-file = []
|
2020-03-04 14:07:40 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-02-28 05:25:33 +00:00
|
|
|
ahash = { version = "0.7.6", features = ["serde"] }
|
|
|
|
anyhow = "1.0.55"
|
|
|
|
base64 = "0.13.0"
|
|
|
|
bytecount = { version = "0.6.2", features = ["runtime-dispatch-simd"] }
|
|
|
|
fancy-regex = "0.8.0"
|
|
|
|
fraction = { version = "0.10.0", default-features = false, features = ["with-bigint"] }
|
|
|
|
iso8601 = "0.4.1"
|
|
|
|
itoa = "1.0.1"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
memchr = "2.4.1"
|
|
|
|
num-cmp = "0.1.0"
|
|
|
|
parking_lot = "0.12.0"
|
|
|
|
percent-encoding = "2.1.0"
|
|
|
|
regex = "1.5.4"
|
2022-04-21 09:22:28 +00:00
|
|
|
reqwest = { version = "0.11.9", features = ["blocking", "json"], default-features = false, optional = true }
|
2022-02-28 05:25:33 +00:00
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
|
|
serde_json = "1.0.79"
|
|
|
|
structopt = { version = "0.3.26", optional = true }
|
|
|
|
time = { version = "0.3.7", features = ["parsing", "macros"] }
|
|
|
|
url = "2.2.2"
|
|
|
|
uuid = "0.8.2"
|
2020-03-04 14:07:40 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-12-17 08:54:49 +00:00
|
|
|
bench_helpers = { path = "../bench_helpers" }
|
2022-02-28 05:25:33 +00:00
|
|
|
criterion = "0.3.5"
|
|
|
|
json_schema_test_suite = { version = "0.3.0", path = "../jsonschema-test-suite" }
|
2021-05-01 19:33:52 +00:00
|
|
|
jsonschema-valid = "0.4.0"
|
2022-02-28 05:25:33 +00:00
|
|
|
mockito = "0.31.0"
|
|
|
|
paste = "1.0.6"
|
2022-04-02 15:52:09 +00:00
|
|
|
test-case = "2.0.2"
|
2021-10-28 06:06:48 +00:00
|
|
|
valico = "3.6.0"
|
2020-03-04 14:07:40 +00:00
|
|
|
|
2021-07-12 15:24:08 +00:00
|
|
|
# Benchmarks for `jsonschema`
|
2020-03-04 14:07:40 +00:00
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2021-10-28 06:06:48 +00:00
|
|
|
name = "jsonschema"
|
2020-06-10 22:02:53 +00:00
|
|
|
|
2021-07-12 15:24:08 +00:00
|
|
|
# Benchmarks for `valico`
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2021-10-28 06:06:48 +00:00
|
|
|
name = "valico"
|
2021-07-12 15:24:08 +00:00
|
|
|
|
|
|
|
# Benchmarks for `jsonschema_valid`
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2021-10-28 06:06:48 +00:00
|
|
|
name = "jsonschema_valid"
|
2021-07-12 15:24:08 +00:00
|
|
|
|
2020-06-10 22:02:53 +00:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
|
|
|
lto = "on"
|