package redis

  1. Overview
  2. Docs
Redis client

Install

Dune Dependency

Authors

Maintainers

Sources

redis-0.7.1.tbz
sha256=0ef71f6c47d5c1ab16b2371d93c38a4d53bdf71e1e795308a3b721281dab940a
sha512=a794de56c4c42d812259a0cb11516ddc562ae0a3f705fa3058a61a409864c18cb3f84d686ec5a156816b918c19820389801c3d0214b022fe1335049edb4d7d04

Description

Tags

redis

Published: 20 Oct 2023

README

OCaml-redis

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.

Dependencies (6)

  1. ocaml >= "4.03.0"
  2. re >= "1.7.2"
  3. stdlib-shims
  4. uuidm
  5. base-unix
  6. dune >= "1.0"

Dev Dependencies (4)

  1. ounit2 with-test
  2. containers with-test
  3. odoc with-doc
  4. containers with-test & >= "3.0"

Conflicts

None