diff --git a/bigstringaf.descr b/bigstringaf.descr deleted file mode 100644 index 4e8382a..0000000 --- a/bigstringaf.descr +++ /dev/null @@ -1,9 +0,0 @@ -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. diff --git a/bigstringaf.opam b/bigstringaf.opam index 0d0af9f..36ef484 100644 --- a/bigstringaf.opam +++ b/bigstringaf.opam @@ -1,24 +1,34 @@ -opam-version: "1.2" +opam-version: "2.0" maintainer: "Spiros Eliopoulos " authors: [ "Spiros Eliopoulos " ] license: "BSD-3-clause" homepage: "https://github.com/inhabitedtype/bigstringaf" bug-reports: "https://github.com/inhabitedtype/bigstringaf/issues" -dev-repo: "https://github.com/inhabitedtype/bigstringaf.git" +dev-repo: "git+https://github.com/inhabitedtype/bigstringaf.git" build: [ ["jbuilder" "subst" "-p" name] {pinned} ["jbuilder" "build" "-p" name "-j" jobs] -] -build-test: [ - ["jbuilder" "runtest" "-p" name] + ["jbuilder" "runtest" "-p" name] {with-test} ] depends: [ "jbuilder" {build & >= "1.0+beta10"} - "alcotest" {test} + "alcotest" {with-test} "base-bigarray" + "ocaml" {>= "4.03.0"} ] depopts: [ "mirage-xen-posix" "ocaml-freestanding" ] -available: [ ocaml-version >= "4.03.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. +""" \ No newline at end of file