/
ekg-forward.cabal
130 lines (115 loc) · 4.29 KB
/
ekg-forward.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
cabal-version: 2.4
name: ekg-forward
version: 0.3.0.3
synopsis: See README for more info
description: See README for more info
homepage: https://github.com/input-output-hk/ekg-forward
bug-reports: https://github.com/input-output-hk/ekg-forward/issues
license: Apache-2.0
license-file: LICENSE
copyright: 2021 Input Output (Hong Kong) Ltd.
author: Denis Shevchenko
maintainer: Denis Shevchenko <denis.shevchenko@iohk.io>
category: System, Network
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/input-output-hk/ekg-forward.git
common common-options
build-depends: base >=4.12 && <5
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
default-language: Haskell2010
library
import: common-options
hs-source-dirs: src
exposed-modules: System.Metrics.Acceptor
System.Metrics.Configuration
System.Metrics.Forwarder
System.Metrics.ReqResp
System.Metrics.Network.Acceptor
System.Metrics.Network.Forwarder
System.Metrics.Store.Acceptor
System.Metrics.Store.Forwarder
System.Metrics.Protocol.Type
System.Metrics.Protocol.Codec
System.Metrics.Protocol.Acceptor
System.Metrics.Protocol.Forwarder
build-depends: async
, bytestring
, cborg
, contra-tracer
, ekg-core
, io-classes >= 0.3
, network
, ouroboros-network-api
-- The API has changed in 0.6 so don't use it.
, ouroboros-network-framework < 0.6
, serialise
, stm
, text
, time
, typed-protocols ^>= 0.1
, typed-protocols-cborg
, unordered-containers
executable demo-forwarder
hs-source-dirs: demo
main-is: forwarder.hs
build-depends: base
, contra-tracer
, ekg-core
, ekg-forward
, text
, time
default-language: Haskell2010
ghc-options: -Wall
-threaded
-rtsopts
-with-rtsopts=-T
executable demo-acceptor
hs-source-dirs: demo
main-is: acceptor.hs
build-depends: base
, contra-tracer
, ekg-core
, ekg-forward
, stm
, text
, time
default-language: Haskell2010
ghc-options: -Wall
-threaded
-rtsopts
-with-rtsopts=-T
test-suite ekg-forward-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Test.GetAllMetrics
Test.GetMetrics
Test.MkConfig
build-depends: base
, contra-tracer
, ekg-core
, ekg-forward
, hspec
, stm
, time
, unordered-containers
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
default-extensions: OverloadedStrings