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

provides:
  - bin/sig

versions:
  github: ynqa/sig

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

test: test "$(sig --version)" = "sig {{version}}"
