packages feed

icepeak-1.0.0.0: icepeak.cabal

cabal-version: 1.12
name:          icepeak
version:       1.0.0.0
license:       BSD3
copyright:     (c) 2022, Channable
maintainer:    rkrzr
author:        Channable
homepage:      https://github.com/channable/icepeak
bug-reports:   https://github.com/channable/icepeak/issues
synopsis:      A fast JSON document store with push notification support.
description:
    Icepeak is a fast JSON document store with push notification support.

category:      web
build-type:    Simple

library
    exposed-modules:
        AccessControl
        Config
        Core
        HTTPMethodInvalid
        HttpServer
        JwtAuth
        JwtMiddleware
        Logger
        Metrics
        MetricsServer
        Persistence
        SentryLogging
        Server
        Store
        Subscription
        WebsocketServer

    hs-source-dirs:   src
    other-modules:    Paths_icepeak
    default-language: Haskell2010
    ghc-options:
        -Wall -Wno-orphans -Wno-unused-top-binds -O2 -fno-ignore-asserts
        -funbox-strict-fields

    build-depends:
        aeson >=1.4.6 && <2.1,
        async >=2.2.2 && <2.3,
        base >=4.15.0 && <4.16,
        bytestring >=0.10.8 && <0.11,
        containers >=0.6.0 && <0.7,
        directory >=1.3.3 && <1.4,
        hashable >=1.2.0 && <1.4,
        http-types >=0.12.3 && <0.13,
        jwt >=0.10.0 && <0.12,
        monad-logger >=0.3.31 && <0.4,
        mtl >=2.2.2 && <2.3,
        network >=2.8.0 && <3.2,
        optparse-applicative >=0.16.0 && <0.17,
        prometheus-client >=1.0.0 && <1.2,
        prometheus-metrics-ghc >=1.0.0 && <1.1,
        random >=1.1 && <1.3,
        raven-haskell >=0.1.2 && <0.2,
        scotty >=0.11.5 && <0.13,
        securemem >=0.1.10 && <0.2,
        sqlite-simple >=0.4.16 && <0.5,
        stm >=2.5.0 && <2.6,
        text >=1.2.3 && <1.3,
        time >=1.8.0 && <1.10,
        unix >=2.7.2 && <2.8,
        unordered-containers >=0.2.10 && <0.3,
        uuid >=1.3.13 && <1.4,
        wai >=3.2.2 && <3.3,
        wai-extra >=3.0.29 && <3.2,
        wai-middleware-prometheus >=1.0.0 && <1.1,
        wai-websockets >=3.0.1 && <3.1,
        warp >=3.3.0 && <3.4,
        websockets >=0.12.7 && <0.13

executable icepeak
    main-is:          Main.hs
    hs-source-dirs:   app/Icepeak
    other-modules:    Paths_icepeak
    default-language: Haskell2010
    ghc-options:      -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N -I0"
    build-depends:
        aeson >=1.4.6 && <2.1,
        async >=2.2.2 && <2.3,
        base >=4.15.0 && <4.16,
        bytestring >=0.10.8 && <0.11,
        containers >=0.6.0 && <0.7,
        directory >=1.3.3 && <1.4,
        hashable >=1.2.0 && <1.4,
        http-types >=0.12.3 && <0.13,
        icepeak,
        jwt >=0.10.0 && <0.12,
        monad-logger >=0.3.31 && <0.4,
        mtl >=2.2.2 && <2.3,
        network >=2.8.0 && <3.2,
        optparse-applicative >=0.16.0 && <0.17,
        prometheus-client >=1.0.0 && <1.2,
        prometheus-metrics-ghc >=1.0.0 && <1.1,
        random >=1.1 && <1.3,
        raven-haskell >=0.1.2 && <0.2,
        scotty >=0.11.5 && <0.13,
        securemem >=0.1.10 && <0.2,
        sqlite-simple >=0.4.16 && <0.5,
        stm >=2.5.0 && <2.6,
        text >=1.2.3 && <1.3,
        time >=1.8.0 && <1.10,
        unix >=2.7.2 && <2.8,
        unordered-containers >=0.2.10 && <0.3,
        uuid >=1.3.13 && <1.4,
        wai >=3.2.2 && <3.3,
        wai-extra >=3.0.29 && <3.2,
        wai-middleware-prometheus >=1.0.0 && <1.1,
        wai-websockets >=3.0.1 && <3.1,
        warp >=3.3.0 && <3.4,
        websockets >=0.12.7 && <0.13

executable icepeak-token-gen
    main-is:          Main.hs
    hs-source-dirs:   app/IcepeakTokenGen
    other-modules:    Paths_icepeak
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        aeson >=1.4.6 && <2.1,
        async >=2.2.2 && <2.3,
        base >=4.15.0 && <4.16,
        bytestring >=0.10.8 && <0.11,
        containers >=0.6.0 && <0.7,
        directory >=1.3.3 && <1.4,
        hashable >=1.2.0 && <1.4,
        http-types >=0.12.3 && <0.13,
        icepeak,
        jwt >=0.10.0 && <0.12,
        monad-logger >=0.3.31 && <0.4,
        mtl >=2.2.2 && <2.3,
        network >=2.8.0 && <3.2,
        optparse-applicative >=0.16.0 && <0.17,
        prometheus-client >=1.0.0 && <1.2,
        prometheus-metrics-ghc >=1.0.0 && <1.1,
        random >=1.1 && <1.3,
        raven-haskell >=0.1.2 && <0.2,
        scotty >=0.11.5 && <0.13,
        securemem >=0.1.10 && <0.2,
        sqlite-simple >=0.4.16 && <0.5,
        stm >=2.5.0 && <2.6,
        text >=1.2.3 && <1.3,
        time >=1.8.0 && <1.10,
        unix >=2.7.2 && <2.8,
        unordered-containers >=0.2.10 && <0.3,
        uuid >=1.3.13 && <1.4,
        wai >=3.2.2 && <3.3,
        wai-extra >=3.0.29 && <3.2,
        wai-middleware-prometheus >=1.0.0 && <1.1,
        wai-websockets >=3.0.1 && <3.1,
        warp >=3.3.0 && <3.4,
        websockets >=0.12.7 && <0.13

test-suite spec
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   tests
    other-modules:
        AccessControlSpec
        ApiSpec
        CoreSpec
        JwtSpec
        OrphanInstances
        PersistenceSpec
        RequestSpec
        SocketSpec
        StoreSpec
        SubscriptionTreeSpec
        Paths_icepeak

    default-language: Haskell2010
    ghc-options:      -Wall -Wno-orphans
    build-depends:
        QuickCheck <2.15,
        aeson >=1.4.6 && <2.1,
        async >=2.2.2 && <2.3,
        base >=4.15.0 && <4.16,
        bytestring >=0.10.8 && <0.11,
        containers >=0.6.0 && <0.7,
        directory >=1.3.3 && <1.4,
        hashable >=1.2.0 && <1.4,
        hspec <2.9,
        hspec-core <2.9,
        hspec-expectations <0.9,
        hspec-wai <0.12,
        http-types >=0.12.3 && <0.13,
        icepeak,
        jwt >=0.10.0 && <0.12,
        monad-logger >=0.3.31 && <0.4,
        mtl >=2.2.2 && <2.3,
        network >=2.8.0 && <3.2,
        optparse-applicative >=0.16.0 && <0.17,
        prometheus-client >=1.0.0 && <1.2,
        prometheus-metrics-ghc >=1.0.0 && <1.1,
        quickcheck-instances <0.4,
        random >=1.1 && <1.3,
        raven-haskell >=0.1.2 && <0.2,
        scotty >=0.11.5 && <0.13,
        securemem >=0.1.10 && <0.2,
        sqlite-simple >=0.4.16 && <0.5,
        stm >=2.5.0 && <2.6,
        text >=1.2.3 && <1.3,
        time >=1.8.0 && <1.10,
        unix >=2.7.2 && <2.8,
        unordered-containers >=0.2.10 && <0.3,
        uuid >=1.3.13 && <1.4,
        wai >=3.2.2 && <3.3,
        wai-extra >=3.0.29 && <3.2,
        wai-middleware-prometheus >=1.0.0 && <1.1,
        wai-websockets >=3.0.1 && <3.1,
        warp >=3.3.0 && <3.4,
        websockets >=0.12.7 && <0.13