[package] name = "jsonst" description = "JSON Schema hacking toolset" version = "0.2.0" authors = ["K. "] edition = "2021" readme = "README.md" homepage = "https://github.com/katyo/jsonschema" repository = "https://github.com/katyo/jsonschema" license = "Apache-2.0" keywords = ["jsonschema", "json", "inferring", "validation", "commandline"] categories = ["command-line-utilities"] [badges.maintenance] status = "experimental" [dependencies] dirs = "4" paw = "1" log = "0.4" pretty_env_logger = "0.4" url = "2" [dependencies.jsonschema] version = "0.16" optional = true [dependencies.jsonschema-valid] version = "0.4" optional = true [dependencies.valico] version = "3" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_with] version = "1" optional = true [dependencies.base64] version = "0.13" optional = true [dependencies.crypto-hashes] version = "0.10" optional = true [dependencies.hmac-sha256] version = "1" optional = true [dependencies.regex] version = "1" optional = true [dependencies.infers] package = "infers-jsonschema" version = "0.1" optional = true [dependencies.json] package = "serde_json" version = "1" [dependencies.json5] version = "0.4" optional = true [dependencies.yaml] package = "serde_yaml" version = "0.8" optional = true [dependencies.toml] version = "0.5" optional = true [dependencies.ron] version = "0.7" optional = true [dependencies.bson] version = "2" optional = true [dependencies.cbor] package = "serde_cbor" version = "0.11" optional = true [dependencies.pickle] package = "serde-pickle" version = "1" optional = true [dependencies.structopt] version = "0.3" features = ["paw"] [dependencies.sled] version = "0.34" optional = true [dependencies.http_req] version = "0.8" default-features = false optional = true [features] default = ["full", "native-tls"] full = [ "schemastore", "file-cache", "infers", "all-validators", "all-parsers", ] # Validation command only using valico validator minimal = [ "serde", "valico", ] # Enables schemastore.org integration schemastore = [ "http_req", "serde", "serde_with", "regex", ] cache = [ #"crypto-hashes", "hmac-sha256", ] # Enables caching using file backend file-cache = [ "cache", "base64", ] # Enables caching suing sled backend sled-cache = [ "cache", "sled", ] # Enables all supported validators all-validators = [ "jsonschema", "jsonschema-valid", "valico", ] # Enables parsers for all supported text formats txt-parsers = [ "json5", "yaml", "toml", "ron", ] # Enables parsers for all supported binary formats bin-parsers = [ "bson", "cbor", "pickle", ] # Enables parsers for all supported formats all-parsers = [ "txt-parsers", "bin-parsers", ] # Use native TLS solution native-tls = ["http_req/native-tls"] # Use Rust TLS solution rust-tls = ["http_req/rust-tls"] [profile.release] opt-level = "s" #lto = "thin" lto = "fat" panic = "abort" codegen-units = 1