opam-version: "2.0"
maintainer:   "Clement Pascutto"
authors:      [
   "Craig Ferguson <craig@tarides.com>"
   "Thomas Gazagnaire <thomas@tarides.com>"
   "Ioana Cristescu <ioana@tarides.com>"
   "Clément Pascutto <clement@tarides.com>"
]
license:      "MIT"
homepage:     "https://github.com/mirage/index"
bug-reports:  "https://github.com/mirage/index/issues"
dev-repo:     "git+https://github.com/mirage/index.git"
doc:          "https://mirage.github.io/index/"

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

depends: [
  "ocaml"   {>= "4.06.0" & < "4.12.0"}
  "dune"    {>= "1.11.0"}
  "fmt"
  "logs"    {>= "0.7.0"}
  "alcotest" {with-test}
  "crowbar" {with-test}
  "re" {with-test}
]
synopsis: "A platform-agnostic multi-level index for OCaml"
description:"""
Index is a scalable implementation of persistent indices in OCaml.

It takes an arbitrary IO implementation and user-supplied content
types and supplies a standard key-value interface for persistent
storage. Index provides instance sharing by default: each OCaml
run-time shares a common singleton instance.

Index supports multiple-reader/single-writer access. Concurrent access
is safely managed using lock files."""
url {
  src:
    "https://github.com/mirage/index/releases/download/1.0.0/index-1.0.0.tbz"
  checksum: [
    "sha256=9e2b60bffcad828b2c732cbdfb6c35627443062fb482d08e431035f78e54584a"
    "sha512=44d710f5ef3007abfbbab4bcc8d408e59d55f109fff81c7be6513fb838092039b6af4371f6df14d1746eaa0b9784549ebfecd9cf8b0578fa831281162ba635e3"
  ]
}
