opam-version: "2.0"
maintainer: "simon.cruanes@inria.fr"
authors: "Simon Cruanes"
homepage: "https://github.com/c-cube/ocaml-containers/"
bug-reports: "https://github.com/c-cube/ocaml-containers/issues/"
doc: "http://cedeela.fr/~simon/software/containers/"
tags: ["stdlib" "containers" "iterators" "list" "heap" "queue"]
dev-repo: "git+https://github.com/c-cube/ocaml-containers.git"
build: [
  [
    "./configure"
    "--prefix"
    prefix
    "--%{base-threads:enable}%-thread"
    "--disable-bench"
    "--disable-tests"
    "--%{base-bigarray:enable}%-bigarray"
    "--%{sequence:enable}%-advanced"
    "--%{base-unix:enable}%-unix"
    "--enable-docs"
  ]
  [make "build"]
  [make "test"] {with-test}
  [make "doc"] {with-doc}
]
install: [make "install"]
remove: ["ocamlfind" "remove" "containers"]
depends: [
  "ocaml" {>= "4.00.0" & < "4.08.0"}
  "ocamlfind" {build}
  "base-bytes"
  "result"
  "cppo" {build}
  "ocamlbuild" {build}
]
depopts: ["sequence" "base-bigarray" "base-unix" "base-threads"]
conflicts: [ "sequence" {>="0.6"} ]
post-messages:
  "
A large release, with several deprecations 
(in particular, bigstring, now in its own library, and
submodules of CCHashtbl), and lots of new features, including coloring in
CCFormat!

A new tutorial can be found at https://github.com/c-cube/ocaml-containers/blob/master/TUTORIAL.adoc
change log: https://github.com/c-cube/ocaml-containers/blob/0.16/CHANGELOG.adoc
  "
synopsis:
  "A modular extension of the OCaml standard library with a focus on data structures."
description: """
Containers is an extension of OCaml's standard library (under BSD license)
focused on data structures, combinators and iterators, without dependencies on
unix, str or num. Every module is independent and is prefixed with 'CC' in the
global namespace. Some modules extend the stdlib (e.g. CCList provides safe
map/fold_right/append, and additional functions on lists).

It also features sub-libraries for dealing with strings, helpers for unix,
threads, and S-expressions."""
flags: light-uninstall
url {
  src: "https://github.com/c-cube/ocaml-containers/archive/0.16.1.tar.gz"
  checksum: "md5=e8a4b4c5fef3594f69ac0ae1ce6fdc4c"
}
