[package]
name = "tidalctl"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
description = "Command-line inspector for embedded tidalDB instances"
license.workspace = true

[lints.rust]
unsafe_code = "forbid"

[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cast_possible_truncation = "allow"
module_name_repetitions = "allow"
unwrap_used = "deny"

[dependencies]
tidaldb = { path = "../tidal" }
serde_json = "1"

[dev-dependencies]
tidaldb = { path = "../tidal", features = ["test-utils"] }

[[test]]
name = "cli"
