/ocaml-redis

Redis bindings for OCaml

Primary LanguageOCamlBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

OCaml-redis Build

Client library for Redis in pure OCaml.

Changelog can be found in CHANGES.md file.

Dependencies

  • For redis-lwt, Lwt is needed.

Documentation

http://0xffea.github.io/ocaml-redis/

Quick start

Installation

ocaml-redis implements synchronous and lwt clients. Each of them is in a separate package.

  • synchronous version:
    opam install redis-sync
    
  • lwt version:
    opam install redis-lwt
    

Note: connections are not safe to share among threads.

Contribution

The tests require Docker and docker-compose.

Once they have been installed, the tests can be run with make test.