[package]
edition = "2024"
name = "json-sort"
version = "1.1.4"
authors = ["Pol Dellaiera <pol.dellaiera@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command-line tool that sorts JSON files with a consistent key order, making them easier to read and maintain."
homepage = "https://github.com/drupol/json-sort"
readme = "README.md"
keywords = [
"json",
"sort",
]
categories = ["command-line-utilities"]
license = "EUPL-1.2"
repository = "https://github.com/drupol/json-sort"
[package.metadata.wasm-pack.profile.release]
wasm-opt = [
"-O",
"--enable-bulk-memory",
]
[lib]
name = "json_sort"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "json-sort"
path = "src/main.rs"
[[test]]
name = "cli_check"
path = "tests/cli_check.rs"
[[test]]
name = "lib_tests"
path = "tests/lib_tests.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.glob]
version = "0.3"
[dependencies.rayon]
version = "1.12"
[dependencies.serde_json]
version = "1.0"
[dependencies.walkdir]
version = "2.5.0"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[profile.release]
strip = true