packages feed

aws-xray-client-0.1.0.0: aws-xray-client.cabal

cabal-version:      1.12
name:               aws-xray-client
version:            0.1.0.0
license:            MIT
copyright:          2021 Renaissance Learning Inc
maintainer:         engineering@freckle.com
author:             Freckle R&D
homepage:           https://github.com/freckle/aws-xray-client#readme
bug-reports:        https://github.com/freckle/aws-xray-client/issues
synopsis:           A client for AWS X-Ray.
description:
    The core client for enabling AWX X-Ray.
    .
    See other `aws-xray-client-*` packages for usage and integration examples.

category:           Tracing
build-type:         Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
    type:     git
    location: https://github.com/freckle/aws-xray-client

library
    exposed-modules:
        Network.AWS.XRayClient
        Network.AWS.XRayClient.JSONHelpers
        Network.AWS.XRayClient.Segment
        Network.AWS.XRayClient.SendSegments
        Network.AWS.XRayClient.TraceId
        System.Random.XRayCustom

    hs-source-dirs:     library
    other-modules:      Paths_aws_xray_client
    default-language:   Haskell2010
    default-extensions:
        BangPatterns DataKinds DeriveAnyClass DeriveFoldable DeriveFunctor
        DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
        FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
        LambdaCase MultiParamTypeClasses NoImplicitPrelude
        NoMonomorphismRestriction OverloadedStrings RankNTypes
        RecordWildCards ScopedTypeVariables StandaloneDeriving
        TypeApplications TypeFamilies

    build-depends:
        aeson >=1.4.2.0,
        base >=4.12.0.0 && <5,
        bytestring >=0.10.8.2,
        deepseq >=1.4.4.0,
        http-types >=0.12.3,
        lens >=4.17.1,
        network >=2.8.0.1,
        random >=1.1,
        text >=1.2.3.1,
        time >=1.8.0.2

test-suite spec
    type:               exitcode-stdio-1.0
    main-is:            Spec.hs
    hs-source-dirs:     tests
    other-modules:
        Network.AWS.XRayClient.SegmentSpec
        Network.AWS.XRayClient.TraceIdSpec
        Paths_aws_xray_client

    default-language:   Haskell2010
    default-extensions:
        BangPatterns DataKinds DeriveAnyClass DeriveFoldable DeriveFunctor
        DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
        FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
        LambdaCase MultiParamTypeClasses NoImplicitPrelude
        NoMonomorphismRestriction OverloadedStrings RankNTypes
        RecordWildCards ScopedTypeVariables StandaloneDeriving
        TypeApplications TypeFamilies

    ghc-options:        -threaded -rtsopts -O0 -with-rtsopts=-N
    build-depends:
        QuickCheck >=2.12.6.1,
        aeson >=1.4.2.0,
        aeson-qq >=0.8.2,
        aws-xray-client -any,
        base >=4.12.0.0 && <5,
        generic-arbitrary >=0.1.0,
        hspec >=2.6.1,
        lens >=4.17.1,
        random >=1.1,
        text >=1.2.3.1

benchmark bench
    type:               exitcode-stdio-1.0
    main-is:            Bench.hs
    hs-source-dirs:     benchmarks
    other-modules:      Paths_aws_xray_client
    default-language:   Haskell2010
    default-extensions:
        BangPatterns DataKinds DeriveAnyClass DeriveFoldable DeriveFunctor
        DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
        FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
        LambdaCase MultiParamTypeClasses NoImplicitPrelude
        NoMonomorphismRestriction OverloadedStrings RankNTypes
        RecordWildCards ScopedTypeVariables StandaloneDeriving
        TypeApplications TypeFamilies

    ghc-options:        -threaded -O2 -with-rtsopts=-N
    build-depends:
        async >=2.2.2,
        aws-xray-client -any,
        base >=4.12.0.0 && <5,
        criterion >=1.5.5.0,
        random >=1.1,
        time >=1.8.0.2