-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
36 lines (33 loc) · 1.19 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
opam-version: "2.0"
maintainer: "unixjunkie@sdf.org"
authors: ["Francois BERENGER"]
homepage: "https://github.com/UnixJunkie/phashtbl"
bug-reports: "https://github.com/UnixJunkie/phashtbl/issues"
dev-repo: "git+https://github.com/UnixJunkie/phashtbl.git"
license: "LGPL-2.0-or-later"
build: [
["jbuilder" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml"
"jbuilder" {>= "1.0+beta7"}
"dbm"
]
synopsis: "Persistent hash table library using dbm under the carpet."
description: """
Thin layer on top of the dbm library (in opam) to provide modules
providing a subset of the functionalities of the stdlib's Hashtbl module.
The four modules provided and their find functions are:
val Phashtbl.GenKeyToGenVal.find: ('a, 'b) t -> 'a -> 'b
val Phashtbl.StrKeyToGenVal.find: 'b t -> string -> 'b
val Phashtbl.GenKeyToStrVal.find: 'a t -> 'a -> string
val Phashtbl.StrKeyToStrVal.find: t -> string -> string
The stdlib's Marshal module is used for serialization/deserialization
to/from strings."""
url {
src: "https://github.com/UnixJunkie/phashtbl/archive/v1.0.0.tar.gz"
checksum: [
"sha256=107975d3191022b01d97b07ce332be6e48cbe5a50a8a6759b8018ee5aca00812"
"md5=59f043a78b76063bac46bd9704252a89"
]
}