[package]
edition = "2021"
rust-version = "1.85.0"
name = "jsonschema-value"
version = "0.48.5"
authors = ["Dmitry Dygalo <dmitry@dygalo.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JSON value representations and semantics shared by the jsonschema validator and its bindings"
readme = false
license = "MIT"
repository = "https://github.com/Stranger6667/jsonschema"
resolver = "3"
[features]
arbitrary-precision = [
"serde_json/arbitrary_precision",
"dep:num-bigint",
]
default = ["serde_json"]
macros = []
serde_json = ["dep:bytecount"]
[lib]
name = "jsonschema_value"
path = "src/lib.rs"
[dependencies.ahash]
version = "0.8"
features = ["serde"]
[dependencies.bytecount]
version = "0.6"
features = ["runtime-dispatch-simd"]
optional = true
[dependencies.fraction]
version = "0.15"
features = ["with-bigint"]
default-features = false
[dependencies.num-bigint]
version = "0.4"
optional = true
[dependencies.num-cmp]
version = "0.1"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[dev-dependencies.test-case]
version = "3"
[lints.clippy]
dbg_macro = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
get_unwrap = "warn"
module_name_repetitions = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -2
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "warn"