/
hs-opentelemetry-instrumentation-auto.cabal
76 lines (73 loc) · 2.15 KB
/
hs-opentelemetry-instrumentation-auto.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
cabal-version: 3.0
name: hs-opentelemetry-instrumentation-auto
version: 0.1.0.1
synopsis: Plugin for instrumenting an application
description: A GHC plugin that auto-instruments an application for emitting open telementry tracing.
license: BSD-3-Clause
license-file: LICENSE
author: Aaron Allen
maintainer: aaronallen8455@gmail.com
-- copyright:
category: Development
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
extra-source-files: test-config.toml
tested-with:
GHC == 9.4.8
GHC == 9.6.2
bug-reports: https://github.com/aaronallen8455/opentelemetry-auto/issues
source-repository head
type: git
location: https://github.com/aaronallen8455/opentelemetry-auto
common warnings
ghc-options: -Wall
library
import: warnings
exposed-modules:
AutoInstrument
AutoInstrument.Internal.Plugin
AutoInstrument.Internal.Plugin.Parser
AutoInstrument.Internal.Config
AutoInstrument.Internal.GhcFacade
AutoInstrument.Internal.Types
-- other-modules:
-- other-extensions:
build-depends:
base >=4.17.0.0 && <4.20.0.0,
ghc >=9.4.0 && <9.9.0,
bytestring ^>= 0.11 || ^>= 0.12,
directory ^>= 1.3,
containers ^>= 0.6,
unliftio ^>= 0.2,
hs-opentelemetry-api ^>= 0.0.3 || ^>= 0.1,
text ^>= 2.0,
toml-parser >= 2.0.0.0 && < 3.0.0.0,
parsec ^>= 3.1,
time ^>= 1.12
hs-source-dirs: src
default-language: GHC2021
test-suite auto-instrument-test
import: warnings
default-language: GHC2021
-- other-modules:
-- other-extensions:
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base >=4.17.0.0 && <4.20.0.0,
unordered-containers,
hs-opentelemetry-instrumentation-auto,
hs-opentelemetry-exporter-in-memory,
hs-opentelemetry-api,
hs-opentelemetry-sdk,
tasty-hunit,
tasty,
unliftio,
text
ghc-options:
-threaded
-fplugin AutoInstrument
-fplugin-opt AutoInstrument:test-config.toml