mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+jwt-cli -- decode and encode JWTs
This commit is contained in:
parent
8825cc9375
commit
0441e7d8ad
1 changed files with 23 additions and 0 deletions
23
projects/crates.io/jwt-cli/package.yml
Normal file
23
projects/crates.io/jwt-cli/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
distributable:
|
||||
url: https://github.com/mike-engel/jwt-cli/archive/refs/tags/{{ version }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/jwt
|
||||
|
||||
versions:
|
||||
github: mike-engel/jwt-cli
|
||||
strip: /v/
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: '>=1.56'
|
||||
rust-lang.org/cargo: '*'
|
||||
cmake.org: ^3
|
||||
script:
|
||||
# Avoiding --locked flag to avoid proc-macro2 errors
|
||||
- cargo install --path . --root {{prefix}}
|
||||
|
||||
test:
|
||||
script:
|
||||
- test "$(jwt --version)" = "jwt {{version}}"
|
Loading…
Reference in a new issue