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

versions:
  github: imsnif/diskonaut

build:
  dependencies:
    rust-lang.org: ^1.65
    rust-lang.org/cargo: '*'
  script: cargo install --path . --root {{prefix}}

provides:
  - bin/diskonaut

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