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"
|
2020-03-04 14:07:40 +00:00
|
|
|
edition = "2018"
|
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-01-23 16:28:36 +00:00
|
|
|
version = "0.14.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"]
|
2021-10-28 06:06:48 +00:00
|
|
|
default = ["reqwest", "cli"]
|
2021-08-03 15:25:49 +00:00
|
|
|
draft201909 = []
|
2021-10-24 14:17:20 +00:00
|
|
|
draft202012 = []
|
2021-10-28 06:06:48 +00:00
|
|
|
reqwest-native-tls = ["reqwest/native-tls"]
|
|
|
|
reqwest-native-tls-alpn = ["reqwest/native-tls-alpn"]
|
|
|
|
reqwest-native-tls-vendored = ["reqwest/native-tls-vendored"]
|
|
|
|
reqwest-rustls-tls = ["reqwest/rustls-tls"]
|
|
|
|
reqwest-rustls-tls-manual-roots = ["reqwest/rustls-tls-manual-roots"]
|
|
|
|
reqwest-rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"]
|
|
|
|
reqwest-rustls-tls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"]
|
2020-03-04 14:07:40 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-12-17 08:54:49 +00:00
|
|
|
ahash = { version = "0.7", features = ["serde"] }
|
2021-10-28 06:06:48 +00:00
|
|
|
base64 = ">= 0.2"
|
2021-12-17 08:54:49 +00:00
|
|
|
bytecount = { version = "0.6", features = ["runtime-dispatch-simd"] }
|
2021-10-28 06:06:48 +00:00
|
|
|
fancy-regex = "^0.7.1"
|
2021-12-17 08:54:49 +00:00
|
|
|
fraction = { version = "0.9", default-features = false, features = ["with-bigint"] }
|
2021-10-28 06:06:48 +00:00
|
|
|
iso8601 = "0.4"
|
2022-01-23 15:47:31 +00:00
|
|
|
itoa = "1"
|
2020-05-23 22:43:16 +00:00
|
|
|
lazy_static = "1"
|
2021-12-17 08:54:49 +00:00
|
|
|
memchr = "2.4"
|
2021-10-28 06:06:48 +00:00
|
|
|
num-cmp = ">= 0.1"
|
|
|
|
parking_lot = ">= 0.1"
|
2020-05-23 22:43:16 +00:00
|
|
|
percent-encoding = "2"
|
|
|
|
regex = "1"
|
2022-01-23 12:24:30 +00:00
|
|
|
reqwest = { version = ">= 0.10", features = ["blocking", "json"], default-features = false, optional = true }
|
2021-12-17 08:54:49 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2021-10-28 06:06:48 +00:00
|
|
|
serde_json = "1"
|
2021-12-17 08:54:49 +00:00
|
|
|
structopt = { version = ">= 0.3", optional = true }
|
|
|
|
time = { version = ">= 0.3.3", features = ["parsing", "macros"] }
|
2021-10-28 06:06:48 +00:00
|
|
|
url = "2"
|
2021-08-11 15:19:30 +00:00
|
|
|
uuid = "0.8"
|
2020-03-04 14:07:40 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-12-17 08:54:49 +00:00
|
|
|
bench_helpers = { path = "../bench_helpers" }
|
2020-05-23 22:43:16 +00:00
|
|
|
criterion = ">= 0.1"
|
2021-12-17 08:54:49 +00:00
|
|
|
json_schema_test_suite = { version = ">= 0.3", path = "../jsonschema-test-suite" }
|
2021-05-01 19:33:52 +00:00
|
|
|
jsonschema-valid = "0.4.0"
|
2021-10-28 06:06:48 +00:00
|
|
|
mockito = ">= 0"
|
2020-12-11 07:45:26 +00:00
|
|
|
paste = ">= 0.1"
|
2021-12-17 08:54:49 +00:00
|
|
|
reqwest = { version = ">= 0.10", features = ["blocking", "json"] }
|
2021-10-28 06:06:48 +00:00
|
|
|
test-case = "1"
|
|
|
|
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"
|