Skip to content

Commit

Permalink
ekg-forward-0.5 revision
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed May 7, 2024
1 parent 9a26809 commit 903cae2
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _sources/ekg-forward/0.5/meta.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
timestamp = 2024-03-18T14:56:05Z
github = { repo = "input-output-hk/ekg-forward", rev = "18c833c556df6d67b5b01dd1e8b302c1ecaa5aa4" }

[[revisions]]
number = 1
timestamp = 2024-05-07T17:11:35Z
129 changes: 129 additions & 0 deletions _sources/ekg-forward/0.5/revisions/1.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
cabal-version: 2.4
name: ekg-forward
version: 0.5
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 >= 1.4.1
, network
, ouroboros-network-api
, ouroboros-network-framework >= 0.8 && < 0.14
, 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

0 comments on commit 903cae2

Please sign in to comment.