resolute-cli 0.3.0

CLI for resolute: offline query cache and database migrations.
[package]
name = "resolute-cli"
version = "0.3.0"
description = "CLI for resolute: offline query cache and database migrations."
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/resolute-cli"
readme = "README.md"
keywords = ["postgres", "postgresql", "migrations", "cli", "resolute"]
categories = ["database", "command-line-utilities"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[[bin]]
name = "resolute-cli"
path = "src/main.rs"

[dependencies]
# resolute re-exports the migration runner and admin helpers that the CLI
# delegates to. `default-features = false` keeps chrono/json/uuid off the
# build path since the CLI doesn't need them.
resolute = { workspace = true }
# pg-wired is used directly for the low-level `describe_statement` in
# `prepare` / `check`. Migration logic goes through `resolute::migrate`.
pg-wired = { workspace = true }
tokio = { version = "1", features = ["rt", "net", "macros"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
clap = { version = "4", features = ["derive", "env"] }
# AST-based scanning of query!/query_as!/... macro invocations in `.rs` files.
syn = { version = "2", features = ["full", "visit", "parsing"] }
proc-macro2 = "1"

[dev-dependencies]
tempfile = "3"