hitchmark-cli 0.5.0

CLI tool for stable, addressable document links via hook:// URIs
[package]
name = "hitchmark-cli"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
description = "CLI tool for stable, addressable document links via hook:// URIs"
keywords = ["links", "uri", "cli", "bookmarks", "hook"]
categories = ["command-line-utilities", "filesystem"]
documentation = "https://docs.rs/hitchmark-cli"
readme = "README.md"
exclude = ["tests/"]

[[bin]]
name = "hk"
path = "src/main.rs"

[dependencies]
hitchmark-core = "0.5"
clap = { version = "4", features = ["derive", "cargo"] }
clap_complete = "4"
clap_mangen = "0.2"
opener = "0.7"
dirs = "5"
toml = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
log = "0.4"
env_logger = "0.11"
axum = { version = "0.7", features = ["json"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal"] }
tower-http = { version = "0.5", features = ["cors"] }
notify = { version = "6" }

[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"

[package.metadata.deb]
maintainer = "Hitchmark Contributors"
copyright = "2026, Hitchmark Contributors"
depends = "$auto"
section = "utils"
priority = "optional"
assets = [
  ["target/release/hk", "usr/bin/hk", "755"],
  ["README.md", "usr/share/doc/hitchmark-cli/README.md", "644"],
  ["../../LICENSE", "usr/share/doc/hitchmark-cli/LICENSE", "644"],
]

[package.metadata.generate-rpm]
summary = "CLI tool for stable, addressable document links via hook:// URIs"
assets = [
  { source = "target/release/hk", dest = "/usr/bin/hk", mode = "755" },
  { source = "README.md", dest = "/usr/share/doc/hitchmark-cli/README.md", mode = "644", doc = true },
  { source = "../../LICENSE", dest = "/usr/share/doc/hitchmark-cli/LICENSE", mode = "644", doc = true },
]