opam-version: "2.0"
synopsis: "Bigstring intrinsics and fast blits based on memcpy/memmove"
description: """\
Bigstring intrinsics and fast blits based on memcpy/memmove

The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not
widely-known, sometimes misused, and so programs that use Bigstrings are slower
than they have to be. And even if a library got that part right and exposed the
intrinsics properly, the compiler doesn't have any fast blits between
Bigstrings and other string-like types.

So here they are. Go crazy."""
maintainer: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
authors: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/bigstringaf"
bug-reports: "https://github.com/inhabitedtype/bigstringaf/issues"
depends: [
  "dune" {>= "2.6.0"}
  "alcotest" {with-test}
  "ocaml" {>= "4.08.0"}
  "conf-pkg-config" {build}
]
depopts: ["ocaml-freestanding"]
conflicts: [
  "mirage-xen" {< "6.0.0"}
  "ocaml-freestanding" {< "0.4.1"}
  "js_of_ocaml" {< "3.5.0"}
]
build: [
  ["dune" "subst"] {dev}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name]
    {with-test & arch != "x86_32" & arch != "arm32"}
]
dev-repo: "git+https://github.com/inhabitedtype/bigstringaf.git"
url {
  src: "https://github.com/inhabitedtype/bigstringaf/archive/0.9.0.tar.gz"
  checksum: "md5=0d8ceddeb7db821fd4e5235a75ae9752"
}
