opam-version: "2.0"
authors: "Sebastian Porto"
maintainer: "Sebastian Porto <s@porto5.com>"
license: "MIT"
homepage: "https://github.com/sporto/jwto"
bug-reports: "https://github.com/sporto/jwto"
doc: "https://sporto.github.io/jwto/"
dev-repo: "git+https://github.com/sporto/jwto.git"

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "ocaml" {>= "4.05"}
  "dune" {build}
  "alcotest" {with-test}
  "cryptokit" {>= "1.10"}
  "fmt" {>= "0.8"}
  "yojson" {>= "1.6"}
  "base64" {>= "3.1"}
  "re" {>= "1.8"}
  "ppx_deriving" {>= "4.2"}
]

synopsis: "JWT encoding, decoding and verification"
description: "JWT encoding, decoding and verification"
url {
  src: "https://github.com/sporto/jwto/archive/0.3.0.tar.gz"
  checksum: [
    "md5=cc238a4a7d319d37579a930912a68d04"
    "sha512=cd89bc9d2fedc483329ca328fd8895bd49b24f171d8cef27fe34a28612cbbdc88eff7babc810c7967c310aa8056fdfef08bf0693c27e6541a649507b8c7963bb"
  ]
}
