packages feed

keyed-vals-redis-0.2.2.0: keyed-vals-redis.cabal

cabal-version:      3.0
name:               keyed-vals-redis
version:            0.2.2.0
license:            BSD-3-Clause
license-file:       LICENSE
maintainer:         adetokunbo@emio.la
author:             Tim Emiola
tested-with:        GHC ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.1
homepage:           https://github.com/adetokunbo/keyed-vals#readme
bug-reports:        https://github.com/adetokunbo/keyed-vals/issues
synopsis:
  Access Redis using a keyed-vals Handle

description:
  [keyed-vals](https://hackage.haskell.org/package/keyed-vals) specifies
  a focussed client of storage services like [Redis](https://redis.io).

  I.e, while Redis supports many features; the abstract Handle in keyed-vals
  just supports operations that access collections of key-values

  Also, keyed-vals provides a typed interface to a storage backend that allows
  the path in the storage backend to be declaratively linked to the types of
  data stored via a straightforward typeclass declaration.

  Read this [short example](https://github.com/adetokunbo/keyed-vals/tree/main/keyed-vals#example)
  for an introduction its usage.

  This package, keyed-vals-redis, provides a concrete implementation of Handle
  that uses Redis as the underlying storage service.

category:           Data, Redis
build-type:         Simple
extra-source-files:
  ChangeLog.md
  README.md

source-repository head
  type:     git
  location: https://github.com/adetokunbo/keyed-vals.git

library
  exposed-modules:  KeyedVals.Handle.Redis
  other-modules:    KeyedVals.Handle.Redis.Internal
  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:      -Wall -Wincomplete-uni-patterns -fwarn-tabs
  build-depends:
    , base           >=4.11     && <5.0
    , bytestring     >=0.10.8.2 && <0.11 || >=0.11.3.1 && <0.12.1
    , containers     >=0.6.5    && <0.7
    , hedis          >= 0.15.1  && < 0.16
    , keyed-vals     >=0.1      && <0.3
    , read-env-var   >= 1.0.0   && < 1.1
    , text           >=1.2.4    && <1.3  || >=2.0
    , unliftio       >=0.2.22   && <0.3
    , unliftio-core  >=0.2.0    && <0.3


test-suite integration-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  hs-source-dirs:   test
  build-depends:    base
                  , QuickCheck
                  , keyed-vals-hspec-tests
                  , keyed-vals-redis
                  , bytestring
                  , hspec
                  , hspec-tmp-proc
                  , tmp-proc-redis
                  , text
  default-language: Haskell2010
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs