opam-version: "2.0"
maintainer: "ygrek@autistici.org"
authors: [ "Dmitry Grebeniuk <gdsfh1@gmail.com>" "ygrek@autistici.org" ]
homepage: "https://bitbucket.org/gds/objsize"
bug-reports: "Dmitry Grebeniuk <gdsfh1@gmail.com>"
dev-repo: "hg+https://bitbucket.org/gds/objsize"
build: [
  [make]
  [make "tests"] {with-test}
]
install: [[make "install"]]
remove: [["ocamlfind" "remove" "objsize"]]
depends: [
  "ocaml" {>= "3.11" & < "4.03"}
  "ocamlfind"
  "camlp4"
]
synopsis: "Small library to compute sizes of OCaml heap values."
description: """
This library computes number of words occupied by heap value, size
of values' headers and maximal depth of values, by recursively scanning
heap blocks constituting the value in question.
There are functions to get sizes of values in bytes too."""
flags: light-uninstall
url {
  src: "https://download.ocamlcore.org/objsize/objsize/objsize-0.16/objsize-0.16.tar.gz"
  checksum: "md5=66f550c611d3a3499454ff906d60b42d"
}
