opam-version: "2.0"
maintainer: "Nathan Rebours <nathan@cryptosense.com>"
homepage: "https://github.com/cryptosense/key-parsers"
bug-reports: "https://github.com/cryptosense/key-parsers/issues"
license: "BSD-2-Clause"
dev-repo: "git+https://github.com/cryptosense/key-parsers.git"
build: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
    {with-test}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
depends: [
  "ocaml" {>= "4.02.0"}
  "ocamlfind" {build}
  "ppx_deriving" {>= "4.0" & < "4.2"}
  "ppx_deriving_yojson" {>= "3.0" & < "4.0"}
  "ounit" {with-test & >= "2.0.0"}
  "hex" {with-test & >= "1.0.0"}
  "asn1-combinators" {>= "0.1.2" & < "0.2.0"}
  "zarith" {>= "1.4.1"}
  "result" {>= "1.2"}
  "topkg" {build}
  "ppx_bin_prot" {< "v0.15"}
  "cstruct" {>= "1.6.0"}
]
synopsis: "Parsers for multiple key formats"
description:
  "This library provides parsers for several encodings of RSA, DSA, Diffie-Hellman or Elliptic curve public and private keys."
authors: "Nathan Rebours <nathan@cryptosense.com>"
url {
  src:
    "https://github.com/cryptosense/key-parsers/releases/download/0.8.1/key-parsers-0.8.1.tbz"
  checksum: "md5=9418c6042e5b3ddf9dff11ce8c6ad711"
}
