packages feed

azure-functions-worker-0.0.0.0: azure-functions-worker.cabal

cabal-version:        2.4
name:                 azure-functions-worker
version:              0.0.0.0
synopsis:             Azure Functions Worker
description:          Azure Functions Worker.
license:              MIT
author:               Alexey Raga <alexey.raga@gmail.com>
maintainer:           Alexey Raga <alexey.raga@gmail.com>
category:             Azure, Serverless, Cloud
extra-source-files:   README.md
                      protobuf/src/proto/**/*.proto

custom-setup
  setup-depends:
      Cabal
    , base
    , proto-lens-setup

common config
  default-language:     Haskell2010
  -- ghc-options:          -Wall -Werror

library
  import:               config
  hs-source-dirs:       src
  exposed-modules:      Azure.Functions.Contract
                        Azure.Functions.Worker
                        Azure.Functions.Registry
                        Azure.Functions.Function
                        Azure.Functions.Bindings.Class
                        Azure.Functions.Bindings.Blob
                        Azure.Functions.Bindings.HTTP
                        Azure.Functions.Bindings.ServiceBus

  autogen-modules:      Proto.FunctionRpc
                        Proto.FunctionRpc_Fields
                        Proto.Identity.ClaimsIdentityRpc
                        Proto.Shared.NullableTypes
                        Paths_azure_functions_worker

  other-modules:        Azure.Functions.Bindings.Shared
                        Azure.Functions.Commands.Init
                        Azure.Functions.Commands.Run
                        Azure.Functions.Internal.Lens
                        Azure.Functions.Internal.Runtime
                        Azure.Functions.Internal.Templates
                        Proto.FunctionRpc
                        Proto.FunctionRpc_Fields
                        Proto.FunctionRpc_Helpers
                        Proto.Identity.ClaimsIdentityRpc
                        Proto.Shared.NullableTypes
                        Paths_azure_functions_worker

  build-tool-depends:   proto-lens-protoc:proto-lens-protoc >= 0.6 && < 0.7

  build-depends:        base                          >= 4.12     && < 4.13
                      , aeson
                      , async
                      , bytestring
                      , containers
                      , directory
                      , filepath
                      , glabrous                      >= 2.0.2    && < 3
                      , http2-grpc-proto-lens         >= 0.1      && < 0.2
                      , http2-client-grpc             >= 0.8      && < 0.9
                      , http2-grpc-types
                      , http2-client                  >= 0.9      && < 0.10
                      , http-types                    >= 0.12     && < 0.13
                      , lens-family                   >= 2.0      && < 3
                      , lens-family-core              >= 2.0      && < 3
                      , mtl
                      , network-uri                   >= 2.6.3    && < 2.7
                      , optparse-applicative          >= 0.15.1   && < 0.16
                      , proto-lens-runtime            >= 0.6      && < 0.7
                      , proto-lens-protobuf-types     >= 0.6      && < 0.7
                      , raw-strings-qq                >= 1.1      && < 2
                      , stm
                      , text
                      , time

test-suite azure-functions-test
  import:               config
  hs-source-dirs:       test
  type:                 exitcode-stdio-1.0
  main-is:              MyLibTest.hs
  build-depends:        base >=4.12 && <4.13
                      , azure-functions-worker