distributable:
  url: https://github.com/wllfaria/hac/archive/refs/tags/{{ version.tag }}.tar.gz
  strip-components: 1

provides:
  - bin/hac

versions:
  github: wllfaria/hac

build:
  dependencies:
    rust-lang.org: '>=1.56'
    rust-lang.org/cargo: '*'
  script: cargo install --locked --path hac-client --root {{prefix}}

test: hac --help
