packages feed

ekg-core-0.1.2.0: ekg-core.cabal

cabal-version:      1.18
name:               ekg-core
version:            0.1.2.0
synopsis:           Tracking of system metrics
description:        This library lets you defined and track system metrics.
homepage:           https://github.com/tibbe/ekg-core
bug-reports:        https://github.com/tibbe/ekg-core/issues
license:            BSD3
license-file:       LICENSE
author:             Johan Tibell
maintainer:
  Johan Tibell <johan.tibell@gmail.com>,
  Mikhail Glushenkov <mikhail.glushenkov@gmail.com>

category:           System
build-type:         Simple
extra-source-files: CHANGES.md
tested-with:
  GHC ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.3
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.4
   || ==9.6.6
   || ==9.8.4
   || ==9.10.1
   || ==9.12.1

library
  exposed-modules:
    System.Metrics
    System.Metrics.Counter
    System.Metrics.Distribution
    System.Metrics.Distribution.Internal
    System.Metrics.Gauge
    System.Metrics.Label

  other-modules:
    Data.Array
    Data.Atomic
    System.Metrics.ThreadId

  build-depends:
      base                  >=4.6 && <4.22
    , containers            >=0.5 && <0.9
    , ghc-prim              >= 0.4 && < 0.14
    , text                  <2.2
    , unordered-containers  <0.3

  default-language: Haskell2010
  ghc-options:      -Wall

  ghc-options: -Wall -O2
  if arch(i386)
    cc-options: -march=i686

  includes:         distrib.h
  install-includes: distrib.h
  include-dirs:     cbits

benchmark counter
  main-is:          Counter.hs
  type:             exitcode-stdio-1.0
  build-depends:
      base
    , ekg-core

  default-language: Haskell2010
  hs-source-dirs:   benchmarks
  ghc-options:      -O2 -threaded -rtsopts -Wall

benchmark distribution
  main-is:          Distribution.hs
  type:             exitcode-stdio-1.0
  build-depends:
      base
    , ekg-core

  default-language: Haskell2010
  hs-source-dirs:   benchmarks
  ghc-options:      -O2 -threaded -rtsopts -Wall

source-repository head
  type:     git
  location: https://github.com/tibbe/ekg-core.git