obj-cli 1.0.0

Command-line tools (dump, check, stat, backup) for the obj embedded document database.
Documentation
[package]
name = "obj-cli"
description = "Command-line tools (dump, check, stat, backup) for the obj embedded document database."
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
repository.workspace = true
authors.workspace = true
homepage = "https://github.com/uname-n/obj"
documentation = "https://docs.rs/obj-cli"
readme = "../../README.md"
keywords = ["database", "embedded", "cli", "inspector", "backup"]
categories = ["database", "command-line-utilities"]

[[bin]]
name = "obj"
path = "src/main.rs"
doc = false

[dependencies]
# M12: the CLI is a thin wrapper over the public `obj` crate's API.
# MIT OR Apache-2.0.
obj = { package = "obj-db", path = "../obj", version = "1.0.0" }
# `clap` is the workspace-standard argument parser. Derive features
# only — no custom value parsers. MIT OR Apache-2.0.
clap = { version = "4", features = ["derive"] }

[dev-dependencies]
# `assert_cmd` drives the `obj` binary from integration tests so the
# test harness exercises the exact same code-path a user would.
# MIT OR Apache-2.0.
assert_cmd = "2"
# `predicates` pairs with `assert_cmd` for stdout / exit-code
# matching. MIT OR Apache-2.0.
predicates = "3"
# `tempfile` for cross-platform temp dirs so the tests do not
# depend on the host filesystem layout. MIT OR Apache-2.0.
tempfile = "3"
# `serde` derive macros for the small Document fixtures the tests
# populate. MIT OR Apache-2.0.
serde = { version = "1", features = ["derive"] }
# Direct dependency on `obj-core` for the same hand-corruption
# pattern as `crates/obj/tests/integrity.rs` (locate the primary
# B-tree root via the catalog, seek-and-flip a byte). MIT OR
# Apache-2.0.
obj-core = { path = "../obj-core", version = "1.0.0" }

[lints]
workspace = true