+hyperfine

This commit is contained in:
Jacob Heider 2023-02-03 23:12:27 -05:00 committed by Jacob Heider
parent eb077fc603
commit 07c486dffb

View file

@ -0,0 +1,19 @@
distributable:
url: https://github.com/sharkdp/hyperfine/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/hyperfine
versions:
github: sharkdp/hyperfine/tags
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.60'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
test: hyperfine --runs 5 'sleep 0.3'