packages feed

unleash-client-haskell-0.4.8: unleash-client-haskell.cabal

cabal-version: 3.0

name: unleash-client-haskell
version: 0.4.8
synopsis: Unleash feature toggle client
description:
    This is an [Unleash](https://www.getunleash.io/) client SDK for Haskell.

    'Unleash.Client' provides a stateful HTTP client with functions and types for:

        - Client configuration
        - Client registration
        - Fetching feature toggles
        - Fetching variants
        - Sending metrics

    See [the source repo](https://github.com/finn-no/unleash-client-haskell) for more information and example usage.
category: Web
author: FINN.no
homepage: https://github.com/finn-no/unleash-client-haskell
maintainer: See README.md
license: MIT
copyright: Copyright © FINN.no AS, Inc. All rights reserved.
extra-doc-files: CHANGELOG.md
extra-source-files: README.md

common all
    build-depends:
        base >=4.7 && <5,
    default-extensions:
        BlockArguments
        DataKinds
        DeriveFoldable
        DeriveFunctor
        DeriveTraversable
        DerivingStrategies
        DuplicateRecordFields
        ExplicitNamespaces
        FlexibleInstances
        LambdaCase
        MultiParamTypeClasses
        OverloadedRecordDot
        OverloadedStrings
        RankNTypes
        ScopedTypeVariables
        TypeOperators
        TypeApplications
    ghc-options:
        -W
        -Wno-unused-top-binds
        -Wredundant-constraints
        -Wunused-packages
        -haddock
    default-language: Haskell2010

library
    import: all
    exposed-modules:
        Unleash.Client,
    other-modules:
        Unleash.Internal.HttpClient
        Paths_unleash_client_haskell
    autogen-modules:
        Paths_unleash_client_haskell
    hs-source-dirs: src
    build-depends:
        aeson >= 2.0.3 && < 2.1,
        containers >= 0.6.5 && < 0.7,
        http-client-tls >= 0.3.6 && < 0.4,
        http-media >= 0.8.0 && < 0.9,
        mtl >= 2.2.2 && < 2.3,
        servant >= 0.19.1 && < 0.20,
        servant-client >= 0.19 && < 0.20,
        text >= 1.2.5 && < 1.3,
        time >= 1.11.1 && < 1.12,
        unleash-client-haskell-core >= 0.9.0 && < 0.10,

executable example
    import: all
    main-is: Main.hs
    hs-source-dirs: example
    build-depends:
        mtl,
        servant-client,
        text,
        unleash-client-haskell,
        unleash-client-haskell-core,
        unliftio >= 0.2.24 && < 0.3,