jsonschema-rs/jsonschema/Cargo.toml

82 lines
2.3 KiB
TOML
Raw Normal View History

2020-03-04 14:07:40 +00:00
[package]
2020-03-29 09:00:46 +00:00
authors = ["dmitry.dygalo <dadygalo@gmail.com>"]
description = "A crate for performing JSON schema validation"
2020-03-04 14:07:40 +00:00
edition = "2018"
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"
name = "jsonschema"
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"
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"
[features]
2020-10-09 16:28:37 +00:00
cli = ["structopt"]
default = ["reqwest", "cli"]
draft201909 = []
2021-10-24 14:17:20 +00:00
draft202012 = []
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]
ahash = { version = "0.7", features = ["serde"] }
base64 = ">= 0.2"
bytecount = { version = "0.6", features = ["runtime-dispatch-simd"] }
fancy-regex = "^0.7.1"
fraction = { version = "0.9", default-features = false, features = ["with-bigint"] }
iso8601 = "0.4"
2022-01-23 15:47:31 +00:00
itoa = "1"
lazy_static = "1"
memchr = "2.4"
num-cmp = ">= 0.1"
parking_lot = ">= 0.1"
percent-encoding = "2"
regex = "1"
reqwest = { version = ">= 0.10", features = ["blocking", "json"], default-features = false, optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
structopt = { version = ">= 0.3", optional = true }
time = { version = ">= 0.3.3", features = ["parsing", "macros"] }
url = "2"
2021-08-11 15:19:30 +00:00
uuid = "0.8"
2020-03-04 14:07:40 +00:00
[dev-dependencies]
bench_helpers = { path = "../bench_helpers" }
criterion = ">= 0.1"
json_schema_test_suite = { version = ">= 0.3", path = "../jsonschema-test-suite" }
2021-05-01 19:33:52 +00:00
jsonschema-valid = "0.4.0"
mockito = ">= 0"
paste = ">= 0.1"
reqwest = { version = ">= 0.10", features = ["blocking", "json"] }
test-case = "1"
valico = "3.6.0"
2020-03-04 14:07:40 +00:00
# Benchmarks for `jsonschema`
2020-03-04 14:07:40 +00:00
[[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"