packages feed

freckle-memcached-0.0.0.1: freckle-memcached.cabal

cabal-version:      1.18
name:               freckle-memcached
version:            0.0.0.1
license:            MIT
license-file:       LICENSE
maintainer:         Freckle Education
homepage:           https://github.com/freckle/freckle-app#readme
bug-reports:        https://github.com/freckle/freckle-app/issues
synopsis:           ..
description:        Please see README.md
category:           Database
build-type:         Simple
extra-source-files: package.yaml
extra-doc-files:
    README.md
    CHANGELOG.md

source-repository head
    type:     git
    location: https://github.com/freckle/freckle-app

library
    exposed-modules:
        Freckle.App.Memcached
        Freckle.App.Memcached.CacheKey
        Freckle.App.Memcached.CacheTTL
        Freckle.App.Memcached.Client
        Freckle.App.Memcached.MD5
        Freckle.App.Memcached.Servers

    hs-source-dirs:     library
    other-modules:      Paths_freckle_memcached
    default-language:   GHC2021
    default-extensions:
        DataKinds DeriveAnyClass DerivingVia DerivingStrategies GADTs
        LambdaCase NoImplicitPrelude NoMonomorphismRestriction
        OverloadedStrings RecordWildCards TypeFamilies

    ghc-options:
        -fignore-optim-changes -fwrite-ide-info -Weverything
        -Wno-all-missed-specialisations -Wno-missing-exported-signatures
        -Wno-missing-import-lists -Wno-missing-kind-signatures
        -Wno-missing-local-signatures -Wno-missing-safe-haskell-mode
        -Wno-monomorphism-restriction -Wno-prepositive-qualified-module
        -Wno-safe -Wno-unsafe

    build-depends:
        Blammo >=2.0.0.0,
        aeson >=2.0.3.0,
        annotated-exception >=0.2.0.4,
        base >=4.16.4.0 && <5,
        bytestring >=0.11.4.0,
        errors >=2.3.0,
        freckle-otel >=0.0.0.1,
        hashable >=1.4.2.0,
        hs-opentelemetry-sdk >=0.0.3.6,
        lens >=5.1.1,
        memcache >=0.3.0.1,
        mtl >=2.2.2,
        network-uri >=2.6.4.2,
        pureMD5 >=2.1.4,
        serialise >=0.2.6.0,
        text >=1.2.5.0,
        unliftio >=0.2.25.0,
        unordered-containers >=0.2.19.1

    if impl(ghc >=9.8)
        ghc-options:
            -Wno-missing-role-annotations -Wno-missing-poly-kind-signatures

test-suite spec
    type:               exitcode-stdio-1.0
    main-is:            Main.hs
    hs-source-dirs:     tests
    other-modules:
        AppExample
        Freckle.App.Memcached.ServersSpec
        Freckle.App.MemcachedSpec
        Paths_freckle_memcached

    default-language:   GHC2021
    default-extensions:
        DataKinds DeriveAnyClass DerivingVia DerivingStrategies GADTs
        LambdaCase NoImplicitPrelude NoMonomorphismRestriction
        OverloadedStrings RecordWildCards TypeFamilies

    ghc-options:
        -fignore-optim-changes -fwrite-ide-info -Weverything
        -Wno-all-missed-specialisations -Wno-missing-exported-signatures
        -Wno-missing-import-lists -Wno-missing-kind-signatures
        -Wno-missing-local-signatures -Wno-missing-safe-haskell-mode
        -Wno-monomorphism-restriction -Wno-prepositive-qualified-module
        -Wno-safe -Wno-unsafe -threaded -rtsopts -with-rtsopts=-N

    build-depends:
        Blammo >=2.0.0.0,
        aeson >=2.0.3.0,
        base >=4.16.4.0 && <5,
        errors >=2.3.0,
        exceptions >=0.10.4,
        freckle-env >=0.0.1.1,
        freckle-memcached,
        hs-opentelemetry-sdk >=0.0.3.6,
        hspec >=2.10.10,
        hspec-core >=2.10.10,
        hspec-expectations-lifted >=0.10.0,
        lens >=5.1.1,
        lens-aeson >=1.2.2,
        memcache >=0.3.0.1,
        mtl >=2.2.2,
        safe >=0.3.19,
        text >=1.2.5.0,
        unliftio >=0.2.25.0

    if impl(ghc >=9.8)
        ghc-options:
            -Wno-missing-role-annotations -Wno-missing-poly-kind-signatures