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