/
ouroboros-network-api.cabal
83 lines (72 loc) · 3.27 KB
/
ouroboros-network-api.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
cabal-version: 3.0
name: ouroboros-network-api
version: 0.1.0.0
synopsis: A networking api shared with ouroboros-consensus
description: A networking api shared with ouroboros-consensus.
license: Apache-2.0
license-files: LICENSE
NOTICE
copyright: 2019-2023 Input Output Global Inc (IOG)
author: Alexander Vieth, Marcin Szamotulski, Duncan Coutts, Karl Knutsson
maintainer: marcin.szamotulski@iohk.io
category: Network
build-type: Simple
extra-source-files: CHANGELOG.md
flag asserts
description: Enable assertions
manual: False
default: False
library
hs-source-dirs: src
exposed-modules: Ouroboros.Network.AnchoredFragment
Ouroboros.Network.AnchoredSeq
Ouroboros.Network.Block
Ouroboros.Network.Point
Ouroboros.Network.BlockFetch.ConsensusInterface
Ouroboros.Network.CodecCBORTerm
Ouroboros.Network.ControlMessage
Ouroboros.Network.Handshake.Acceptable
Ouroboros.Network.Magic
Ouroboros.Network.NodeToClient.Version
Ouroboros.Network.NodeToNode.Version
Ouroboros.Network.SizeInBytes
Ouroboros.Network.Util.ShowProxy
Ouroboros.Network.Protocol.Limits
Ouroboros.Network.PeerSelection.LedgerPeers.Type
Ouroboros.Network.PeerSelection.PeerMetric.Type
Ouroboros.Network.PeerSelection.PeerAdvertise
Ouroboros.Network.PeerSelection.PeerSharing
Ouroboros.Network.PeerSelection.RelayAccessPoint
default-language: Haskell2010
build-depends: base >=4.14 && <4.17,
aeson,
base16-bytestring,
bytestring >=0.10 && <0.12,
cborg >=0.2.1 && <0.3,
containers,
deepseq,
dns,
iproute,
network >=3.1.2 && <3.2,
nothunks,
serialise >=0.2 && <0.3,
text >=1.2 && <1.3,
cardano-ledger-binary,
cardano-slotting,
cardano-strict-containers,
contra-tracer,
io-classes ^>=0.3,
network-mux ^>=0.3,
strict-stm ^>=0.2,
typed-protocols ^>=0.1,
ghc-options: -Wall
-Wno-unticked-promoted-constructors
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wpartial-fields
-Widentities
-Wredundant-constraints
-Wunused-packages
if flag(asserts)
ghc-options: -fno-ignore-asserts