version: "2.0.2"
opam-version: "2.0"
homepage:     "https://github.com/mirage/mirage-crypto"
dev-repo:     "git+https://github.com/mirage/mirage-crypto.git"
bug-reports:  "https://github.com/mirage/mirage-crypto/issues"
doc:          "https://mirage.github.io/mirage-crypto/doc"
authors:      ["David Kaloper <dk505@cam.ac.uk>" "Hannes Mehnert <hannes@mehnert.org>" ]
maintainer:   "Hannes Mehnert <hannes@mehnert.org>"
license:      "ISC"
synopsis:     "Simple public-key cryptography for the modern age"

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

depends: [
  "conf-gmp-powm-sec" {build}
  "ocaml" {>= "4.13.0"}
  "dune" {>= "2.7"}
  "ounit2" {with-test}
  "randomconv" {with-test & >= "0.2.0"}
  "ohex" {with-test & >= "0.2.0"}
  "mirage-crypto" {=version}
  "mirage-crypto-rng" {=version}
  "digestif" {>= "1.2.0"}
  "zarith" {>= "1.13"}
  "eqaf" {>= "0.8"}
]
conflicts: [
  "ocaml-freestanding"
]
description: """
Mirage-crypto-pk provides public-key cryptography (RSA, DSA, DH).
"""
x-maintenance-intent: [ "(latest)" ]