packages feed

effectful-data-cache-0.1.0.1: effectful-data-cache.cabal

cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack

name:           effectful-data-cache
version:        0.1.0.1
synopsis:       Data cache effect for the `effectful` system
description:    Please see the README on GitHub at <https://github.com/haskell-github-trust/effectful-data-cache#readme>
category:       cache
homepage:       https://github.com/haskell-github-trust/effectful-data-cache#readme
bug-reports:    https://github.com/haskell-github-trust/effectful-data-cache/issues
author:         drlkf
maintainer:     drlkf <drlkf@drlkf.net>
copyright:      2026 drlkf
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/haskell-github-trust/effectful-data-cache

library
  exposed-modules:
      Effectful.Cache
      Effectful.Cache.OpenTelemetry
  other-modules:
      Paths_effectful_data_cache
  autogen-modules:
      Paths_effectful_data_cache
  hs-source-dirs:
      src
  ghc-options: -Wall -Wextra -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , cache >=0.1.3 && <0.2
    , clock ==0.8.*
    , effectful-core >=2.3 && <3
    , hashable >=1.5 && <2
    , hs-opentelemetry-api ==0.3.*
    , text >=2.1 && <3
  default-language: Haskell2010

test-suite effectful-data-cache-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Effectful.Cache.OpenTelemetrySpec
      Effectful.CacheSpec
      Paths_effectful_data_cache
  autogen-modules:
      Paths_effectful_data_cache
  hs-source-dirs:
      test
  ghc-options: -Wall -Wextra -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
      hspec-discover:hspec-discover
  build-depends:
      base >=4.7 && <5
    , cache >=0.1.3 && <0.2
    , clock ==0.8.*
    , effectful-core
    , effectful-data-cache
    , hashable >=1.5 && <2
    , hs-opentelemetry-api
    , hs-opentelemetry-exporter-in-memory
    , hs-opentelemetry-sdk
    , hspec
    , text
    , unordered-containers
  default-language: Haskell2010