version = "0.5.4"
description = "Simple crypto for the modern age"
requires = "cstruct zarith sexplib ocplib-endian ppx_sexp_conv.runtime-lib"
archive(byte) = "nocrypto.cma"
archive(native) = "nocrypto.cmxa"
plugin(byte) = "nocrypto.cma"
plugin(native) = "nocrypto.cmxs"
xen_linkopts = "-lnocrypto_stubs+mirage-xen"
freestanding_linkopts = "-lnocrypto_stubs+mirage-freestanding"
exists_if = "nocrypto.cma"

package "unix" (
 version = "0.5.4"
 description = "Simple crypto for the modern age"
 requires = "nocrypto unix bytes"
 archive(byte) = "nocrypto_unix.cma"
 archive(native) = "nocrypto_unix.cmxa"
 plugin(byte) = "nocrypto_unix.cma"
 plugin(native) = "nocrypto_unix.cmxs"
 exists_if = "nocrypto_unix.cma"
)

package "lwt" (
 version = "0.5.4"
 description = "Simple crypto for the modern age"
 requires = "nocrypto nocrypto.unix lwt.unix cstruct.lwt"
 archive(byte) = "nocrypto_lwt.cma"
 archive(native) = "nocrypto_lwt.cmxa"
 plugin(byte) = "nocrypto_lwt.cma"
 plugin(native) = "nocrypto_lwt.cmxs"
 exists_if = "nocrypto_lwt.cma"
)

package "mirage" (
 version = "0.5.4"
 description = "Simple crypto for the modern age"
 requires = "nocrypto lwt mirage-entropy"
 archive(byte) = "nocrypto_mirage.cma"
 archive(native) = "nocrypto_mirage.cmxa"
 plugin(byte) = "nocrypto_mirage.cma"
 plugin(native) = "nocrypto_mirage.cmxs"
 exists_if = "nocrypto_mirage.cma"
)
