shipwright
Binary-side helper for the Shipwright version contract.
Provides the functions a binary calls to emit its version in the two required formats:
binary --version→"binary-name 1.2.3"binary --version --json→ structured JSON perschemas/version-manifest.schema.json
Usage
[]
= "0.1"
use ;
let output = new
.expect;
// plain: "my-tool 1.2.3"
println!;
// json: structured version-manifest JSON
println!;
License
Licensed under either of MIT or Apache-2.0 at your option.
Copyright (c) 2026 NIMBLESITE PTY LTD