2021-11-22 21:33:59 +00:00
|
|
|
# Package
|
|
|
|
|
|
|
|
version = "0.1.0"
|
|
|
|
author = "Jonathan Bernard"
|
|
|
|
description = "Full JWT, JWS, JWE, and JWK implementation for Nim, compliant with RFCs 7515-7519."
|
|
|
|
license = "GPL-3.0-or-later"
|
|
|
|
srcDir = "src/main"
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
|
|
|
|
requires "nim >= 1.4.8"
|
|
|
|
requires "bearssl"
|
2021-12-25 23:52:43 +00:00
|
|
|
requires "https://github.com/yglukhov/bearssl_pkey_decoder"
|
2021-11-22 21:33:59 +00:00
|
|
|
|
|
|
|
task unittest, "Run the unit test suites.":
|
|
|
|
exec "nim c -r src/test/unit/runner"
|