[package]
edition = "2024"
rust-version = "1.85"
name = "json-traits"
version = "0.1.1"
authors = ["Stewart Anderson"]
build = false
exclude = ["rust-toolchain.toml"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Server-side helper for leaf-validator style PATCH updates: flatten JSON, diff documents, and match dotted paths"
homepage = "https://github.com/stewie1570/JsonTraits"
documentation = "https://docs.rs/json-traits"
readme = "README.md"
keywords = [
"json",
"diff",
"path",
"flatten",
"serde",
]
categories = [
"encoding",
"data-structures",
]
license = "MIT"
repository = "https://github.com/stewie1570/JsonTraits"
[lib]
name = "json_traits"
path = "src/lib.rs"
[[example]]
name = "list_paths"
path = "examples/list_paths.rs"
[[test]]
name = "path_patterns"
path = "tests/path_patterns.rs"
[[test]]
name = "paths_and_values"
path = "tests/paths_and_values.rs"
[[bench]]
name = "json_paths"
path = "benches/json_paths.rs"
harness = false
[dependencies.serde_json]
version = "1"
[dev-dependencies.criterion]
version = "0.8"
[lints.rust]
missing_docs = "warn"