vernier-cli 0.0.2

Command-line driver for the vernier evaluation library
[package]
name = "vernier-cli"
description = "Command-line driver for the vernier evaluation library"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
keywords = ["evaluation", "cli", "computer-vision", "detection", "coco"]
categories = ["science", "computer-vision", "command-line-utilities"]

[lints]
workspace = true

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

# cargo-binstall path templates. cargo-dist names artifacts
# `{name}-{target}.{ext}` (no version segment), which doesn't match
# binstall's default URL heuristic — so we declare it explicitly per
# ADR-0015's binstall rule. `{archive-suffix}` resolves to `.tar.xz`
# on Linux/macOS and `.zip` on Windows; the binary inside is `vernier`
# (`vernier.exe` on Windows) per the [[bin]] declaration below.
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

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

[dependencies]
# Pure-Rust dep tree per ADR-0015: the binary links `vernier-core`
# directly and never touches PyO3. `vernier-ffi` is deliberately absent.
vernier-core = { path = "../vernier-core", version = "0.0.2" }
clap = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
assert_cmd = { workspace = true }
predicates = { workspace = true }