|
| 1 | +cabal-version: 3.0 |
| 2 | + |
| 3 | +name: trace-dispatcher |
| 4 | +version: 2.0.0 |
| 5 | +synopsis: Tracers for Cardano |
| 6 | +description: Package for development of simple and efficient tracers |
| 7 | + based on the arrow based contra-tracer package |
| 8 | +category: Cardano, |
| 9 | + Trace, |
| 10 | +copyright: 2020-2023 Input Output Global Inc (IOG). |
| 11 | +author: Juergen Nicklisch-Franken |
| 12 | + |
| 13 | +license: Apache-2.0 |
| 14 | +license-files: LICENSE |
| 15 | + NOTICE |
| 16 | +extra-source-files: CHANGELOG.md |
| 17 | + README.md |
| 18 | + doc/trace-dispatcher.md |
| 19 | + |
| 20 | +common project-config |
| 21 | + default-language: Haskell2010 |
| 22 | + |
| 23 | +library |
| 24 | + hs-source-dirs: src |
| 25 | + exposed-modules: Cardano.Logging |
| 26 | + Cardano.Logging.Configuration |
| 27 | + Cardano.Logging.ConfigurationParser |
| 28 | + Cardano.Logging.DocuGenerator |
| 29 | + Cardano.Logging.Formatter |
| 30 | + Cardano.Logging.Forwarding |
| 31 | + Cardano.Logging.FrequencyLimiter |
| 32 | + Cardano.Logging.Trace |
| 33 | + Cardano.Logging.TraceDispatcherMessage |
| 34 | + Cardano.Logging.Tracer.DataPoint |
| 35 | + Cardano.Logging.Tracer.EKG |
| 36 | + Cardano.Logging.Tracer.Standard |
| 37 | + Cardano.Logging.Tracer.Forward |
| 38 | + Cardano.Logging.Tracer.Composed |
| 39 | + Cardano.Logging.Types |
| 40 | + Cardano.Logging.Utils |
| 41 | + Cardano.Logging.Version |
| 42 | + Control.Tracer.Arrow |
| 43 | + Control.Tracer |
| 44 | + |
| 45 | + default-extensions: OverloadedStrings |
| 46 | + build-depends: base >=4.12 && <5 |
| 47 | + , aeson >= 2.1.0.0 |
| 48 | + , async |
| 49 | + , bytestring |
| 50 | + , cborg |
| 51 | + , containers |
| 52 | + , contra-tracer |
| 53 | + , ekg |
| 54 | + , ekg-core |
| 55 | + , ekg-forward >= 0.3.0 |
| 56 | + , hostname |
| 57 | + , network |
| 58 | + , optparse-applicative-fork |
| 59 | + , ouroboros-network ^>= 0.8.1.0 |
| 60 | + , ouroboros-network-api |
| 61 | + , ouroboros-network-framework |
| 62 | + , serialise |
| 63 | + , stm |
| 64 | + , text |
| 65 | + , time |
| 66 | + , trace-forward |
| 67 | + , unagi-chan >= 0.4.1.4 |
| 68 | + , unliftio |
| 69 | + , unliftio-core |
| 70 | + , unordered-containers |
| 71 | + , yaml |
| 72 | + |
| 73 | + if os(windows) |
| 74 | + build-depends: Win32 |
| 75 | + else |
| 76 | + build-depends: unix |
| 77 | + |
| 78 | + ghc-options: -Wall |
| 79 | + -Wcompat |
| 80 | + -Wincomplete-uni-patterns |
| 81 | + -Wincomplete-record-updates |
| 82 | + -Wpartial-fields |
| 83 | + -Widentities |
| 84 | + -Wredundant-constraints |
| 85 | + -Wmissing-export-lists |
| 86 | + |
| 87 | +executable trace-dispatcher-examples |
| 88 | + import: project-config |
| 89 | + main-is: Main.hs |
| 90 | + other-modules: Examples.TestObjects |
| 91 | + Examples.Aggregation |
| 92 | + Examples.Trivial |
| 93 | + Examples.Routing |
| 94 | + Examples.EKG |
| 95 | + Examples.Configuration |
| 96 | + Examples.DataPoint |
| 97 | + Examples.FrequencyLimiting |
| 98 | + Examples.Documentation |
| 99 | + hs-source-dirs: examples |
| 100 | + default-extensions: OverloadedStrings |
| 101 | + build-depends: base >=4.12 && <5 |
| 102 | + , aeson >= 2.1.0.0 |
| 103 | + , bytestring |
| 104 | + , containers |
| 105 | + , ekg |
| 106 | + , ekg-core |
| 107 | + , hostname |
| 108 | + , stm |
| 109 | + , text |
| 110 | + , trace-dispatcher |
| 111 | + , trace-forward |
| 112 | + , time |
| 113 | + , unagi-chan >= 0.4.1.4 |
| 114 | + , unliftio |
| 115 | + , unliftio-core |
| 116 | + , unordered-containers |
| 117 | + , utf8-string |
| 118 | + , yaml |
| 119 | + ghc-options: -Wall |
| 120 | + -Wcompat |
| 121 | + -Wincomplete-uni-patterns |
| 122 | + -Wincomplete-record-updates |
| 123 | + -Wpartial-fields |
| 124 | + -Widentities |
| 125 | + -Wredundant-constraints |
| 126 | + -Wmissing-export-lists |
| 127 | + -Wno-incomplete-patterns |
| 128 | + |
| 129 | +test-suite trace-dispatcher-test |
| 130 | + type: exitcode-stdio-1.0 |
| 131 | + hs-source-dirs: test |
| 132 | + main-is: trace-dispatcher-test.hs |
| 133 | + other-modules: Cardano.Logging.Test.Types |
| 134 | + Cardano.Logging.Test.Oracles |
| 135 | + Cardano.Logging.Test.Config |
| 136 | + Cardano.Logging.Test.Tracer |
| 137 | + Cardano.Logging.Test.Script |
| 138 | + |
| 139 | + default-extensions: OverloadedStrings |
| 140 | + build-depends: base >=4.12 && <5 |
| 141 | + , aeson >= 2.1.0.0 |
| 142 | + , bytestring |
| 143 | + , cardano-prelude |
| 144 | + , containers |
| 145 | + , ekg |
| 146 | + , ekg-core |
| 147 | + , generic-data |
| 148 | + , hostname |
| 149 | + , optparse-applicative |
| 150 | + , ouroboros-network ^>= 0.8.1.0 |
| 151 | + , text |
| 152 | + , stm |
| 153 | + , tasty |
| 154 | + , tasty-quickcheck |
| 155 | + , time |
| 156 | + , trace-dispatcher |
| 157 | + , unagi-chan >= 0.4.1.4 |
| 158 | + , unliftio |
| 159 | + , unliftio-core |
| 160 | + , unordered-containers |
| 161 | + , yaml |
| 162 | + , QuickCheck |
| 163 | + |
| 164 | + |
| 165 | + ghc-options: -Wall |
| 166 | + -Wcompat |
| 167 | + -Wincomplete-uni-patterns |
| 168 | + -Wincomplete-record-updates |
| 169 | + -Wpartial-fields |
| 170 | + -Widentities |
| 171 | + -Wredundant-constraints |
| 172 | + -Wmissing-export-lists |
| 173 | + -Wno-incomplete-patterns |
| 174 | + |
| 175 | +benchmark trace-dispatcher-bench |
| 176 | + import: project-config |
| 177 | + type: exitcode-stdio-1.0 |
| 178 | + hs-source-dirs: bench, test |
| 179 | + main-is: trace-dispatcher-bench.hs |
| 180 | + default-extensions: OverloadedStrings |
| 181 | + other-modules: Cardano.Logging.Test.Types |
| 182 | + Cardano.Logging.Test.Oracles |
| 183 | + Cardano.Logging.Test.Config |
| 184 | + Cardano.Logging.Test.Tracer |
| 185 | + Cardano.Logging.Test.Script |
| 186 | + build-depends: base >=4.12 && <5 |
| 187 | + , aeson >= 2.1.0.0 |
| 188 | + , containers |
| 189 | + , criterion |
| 190 | + , ekg |
| 191 | + , text |
| 192 | + , time |
| 193 | + , trace-dispatcher |
| 194 | + , QuickCheck |
0 commit comments