Generic TTL cache with Eio
at main 32 lines 755 B view raw
1# This file is generated by dune, edit dune-project instead 2opam-version: "2.0" 3synopsis: "Generic TTL-based cache with Eio support" 4description: """ 5A generic in-memory cache with configurable TTL (time-to-live), jitter 6 to prevent thundering herd, and thread-safe access using Eio mutexes.""" 7maintainer: ["Thomas Gazagnaire <thomas@gazagnaire.org>"] 8authors: ["Thomas Gazagnaire <thomas@gazagnaire.org>"] 9license: "MIT" 10depends: [ 11 "dune" {>= "3.0"} 12 "ocaml" {>= "5.1"} 13 "eio" {>= "1.0"} 14 "logs" {>= "0.7"} 15 "alcotest" {with-test} 16 "eio_main" {with-test} 17 "odoc" {with-doc} 18] 19build: [ 20 ["dune" "subst"] {dev} 21 [ 22 "dune" 23 "build" 24 "-p" 25 name 26 "-j" 27 jobs 28 "@install" 29 "@runtest" {with-test} 30 "@doc" {with-doc} 31 ] 32]