Generic TTL cache with Eio
1(lang dune 3.0)
2
3(name cache)
4
5(generate_opam_files true)
6
7(license MIT)
8(authors "Thomas Gazagnaire <thomas@gazagnaire.org>")
9(maintainers "Thomas Gazagnaire <thomas@gazagnaire.org>")
10
11(package
12 (name cache)
13 (synopsis "Generic TTL-based cache with Eio support")
14 (tags (org:blacksun storage))
15 (description
16 "A generic in-memory cache with configurable TTL (time-to-live), jitter
17 to prevent thundering herd, and thread-safe access using Eio mutexes.")
18 (depends
19 (ocaml (>= 5.1))
20 (eio (>= 1.0))
21 (logs (>= 0.7))
22 (alcotest :with-test)
23 (eio_main :with-test)
24 (odoc :with-doc)))