package redis

  1. Overview
  2. Docs
Redis client

Install

Dune Dependency

Authors

Maintainers

Sources

redis-0.7.tbz
sha256=283e9933df5268d4ed1653e2d688a8c47c69ed73c5c83a636a1ef4e44aa339c7
sha512=3402b8b635b556f2376590c7e9bf5cf302f900b17f08c3e63b4e70a342b2051c6b9797847fe3b00709cac669317fa2c6b61a18081ea16be9e3685deea0cd4c97

Description

Tags

redis

Published: 10 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