opentelemetry-0.2.0: opentelemetry.cabal
cabal-version: 2.4
name: opentelemetry
description: The OpenTelemetry Haskell Client https://opentelemetry.io
category: OpenTelemetry
version: 0.2.0
license-file: LICENSE
license: Apache-2.0
author: Dmitry Ivanov
maintainer: ethercrow@gmail.com
build-type: Simple
source-repository head
type: git
location: https://github.com/ethercrow/opentelemetry-haskell
common options
default-language: Haskell2010
default-extensions:
BangPatterns
BlockArguments
DataKinds
DeriveGeneric
DerivingStrategies
DerivingVia
FlexibleInstances
InstanceSigs
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NumericUnderscores
RecordWildCards
ScopedTypeVariables
TupleSections
TypeApplications
ViewPatterns
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
-fhide-source-paths
-ferror-spans
-freverse-errors
library
import: options
build-depends:
base >= 4.12 && < 5,
bytestring,
clock >= 0.8,
directory,
exceptions,
hashable,
random >= 1.1,
stm,
text,
unordered-containers
hs-source-dirs: src
exposed-modules:
OpenTelemetry.Common
OpenTelemetry.Debug
OpenTelemetry.FileExporter
OpenTelemetry.Implicit
OpenTelemetry.Propagation
test-suite just-some-usage-code-that-must-compile
import: options
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
SomeUsageOfImplicitApi
hs-source-dirs: just-some-usage-code-that-must-compile
build-depends:
base,
async,
opentelemetry
test-suite unit-tests
import: options
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
TestCommon
TestPropagation
hs-source-dirs: unit-tests
build-depends:
base,
bytestring,
tasty,
tasty-quickcheck,
tasty-hunit,
tasty-discover,
opentelemetry