-
Notifications
You must be signed in to change notification settings - Fork 86
/
ouroboros-consensus-protocol.cabal
89 lines (84 loc) · 2.43 KB
/
ouroboros-consensus-protocol.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
cabal-version: 3.0
name: ouroboros-consensus-protocol
version: 0.3.0.0
synopsis: Cardano consensus protocols
description: Cardano consensus protocols.
license: Apache-2.0
license-files: LICENSE
NOTICE
copyright: 2021-2023 Input Output Global Inc (IOG)
author: IOHK Formal methods team
maintainer: operations@iohk.io
category: Network
extra-source-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/input-output-hk/ouroboros-network
subdir: ouroboros-consensus-protocol
flag asserts
description: Enable assertions
manual: False
default: False
library
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Ouroboros.Consensus.Protocol.Ledger.HotKey
Ouroboros.Consensus.Protocol.Ledger.Util
Ouroboros.Consensus.Protocol.BatchCompatibleCrypto
Ouroboros.Consensus.Protocol.Praos
Ouroboros.Consensus.Protocol.Praos.Common
Ouroboros.Consensus.Protocol.Praos.Crypto
Ouroboros.Consensus.Protocol.Praos.Header
Ouroboros.Consensus.Protocol.Praos.Translate
Ouroboros.Consensus.Protocol.Praos.Views
Ouroboros.Consensus.Protocol.Praos.VRF
Ouroboros.Consensus.Protocol.TPraos
Ouroboros.Consensus.Protocol.Translate
build-depends:
base >=4.14 && <4.17,
bytestring,
cardano-binary,
cardano-crypto-class,
cardano-ledger-binary,
cardano-ledger-core,
cardano-ledger-shelley,
cardano-protocol-tpraos,
cardano-slotting,
cborg,
containers,
mtl,
nothunks,
ouroboros-consensus ==0.3.0.0,
serialise,
text
ghc-options:
-Wall
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wpartial-fields
-Widentities
-Wredundant-constraints
-Wmissing-export-lists
-Wunused-packages
if flag(asserts)
ghc-options:
-fno-ignore-asserts
library ouroboros-consensus-protocol-test
visibility: public
hs-source-dirs: test-src
default-language: Haskell2010
exposed-modules:
Test.Consensus.Protocol.Serialisation.Generators
build-depends:
base >=4.14 && <4.17,
bytestring,
cardano-crypto-class,
cardano-crypto-tests,
cardano-ledger-core,
cardano-ledger-shelley-test,
cardano-protocol-tpraos,
cardano-slotting,
ouroboros-consensus-protocol,
QuickCheck