diff --git a/projects/crates.io/hyperfine/package.yml b/projects/crates.io/hyperfine/package.yml new file mode 100644 index 00000000..9d1b06a9 --- /dev/null +++ b/projects/crates.io/hyperfine/package.yml @@ -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'