summaryrefslogtreecommitdiff
path: root/hjugement-protocol.cabal
diff options
context:
space:
mode:
authorjulm <>2019-05-19 15:15:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-05-19 15:15:00 (GMT)
commit443a44b7b7ccc2e5d865868f88e1c3fe62bb6364 (patch)
treefa0a42b3e25658c12d8c5b26b5ca0c9ca032c80c /hjugement-protocol.cabal
parentc09719458ba041997078c969250bd7f8fa3e5a20 (diff)
version 0.0.0.201905190.0.0.20190519
Diffstat (limited to 'hjugement-protocol.cabal')
-rw-r--r--hjugement-protocol.cabal21
1 files changed, 11 insertions, 10 deletions
diff --git a/hjugement-protocol.cabal b/hjugement-protocol.cabal
index cbf673f..8d70869 100644
--- a/hjugement-protocol.cabal
+++ b/hjugement-protocol.cabal
@@ -2,7 +2,7 @@ name: hjugement-protocol
-- PVP: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
-version: 0.0.0.20190513
+version: 0.0.0.20190519
category: Politic
synopsis: A cryptographic protocol for the Majority Judgment.
description:
@@ -17,9 +17,6 @@ description:
<http://stephane.glondu.net/ Stéphane Glondu>
and Malika Izabachène.
.
- (TODO) Actually, this protocol is adapted a little bit here to better support
- a better method of voting known as the <http://libgen.io/book/index.php?md5=BF67AA4298C1CE7633187546AA53E01D Majority Judgment>.
- .
* A large-public introduction (in french) to Helios-C is available here:
<https://members.loria.fr/VCortier/files/Papers/Bulletin1024-2016.pdf Bulletin de la société informatique de France – numéro 9, novembre 2016>.
* A more scientific (yet understandable) introduction (in english) to Belenios
@@ -64,7 +61,7 @@ Library
hs-source-dirs: src
exposed-modules:
Voting.Protocol
- Voting.Protocol.Arithmetic
+ Voting.Protocol.FFC
Voting.Protocol.Credential
Voting.Protocol.Election
Voting.Protocol.Tally
@@ -87,11 +84,11 @@ Library
NoMonomorphismRestriction
RecordWildCards
ScopedTypeVariables
+ StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
- UndecidableInstances
ghc-options:
-Wall
-Wincomplete-uni-patterns
@@ -100,6 +97,9 @@ Library
-- -fhide-source-paths
build-depends:
base >= 4.6 && < 5
+ , aeson >= 1.3
+ , base64-bytestring >= 1.0
+ , binary >= 0.8
, bytestring >= 0.10
, containers >= 0.5
, cryptonite >= 0.25
@@ -110,7 +110,7 @@ Library
-- , monad-classes >= 0.3
, deepseq >= 1.4
, random >= 1.1
- -- , reflection >= 2.1
+ , reflection >= 2.1
, text >= 1.2
, transformers >= 0.5
, unordered-containers >= 0.2.8
@@ -121,7 +121,7 @@ Test-Suite hjugement-protocol-test
main-is: Main.hs
other-modules:
HUnit
- HUnit.Arithmetic
+ HUnit.FFC
HUnit.Credential
HUnit.Election
HUnit.Trustee
@@ -146,11 +146,11 @@ Test-Suite hjugement-protocol-test
NoMonomorphismRestriction
RecordWildCards
ScopedTypeVariables
+ StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
- UndecidableInstances
ghc-options:
-Wall
-Wincomplete-uni-patterns
@@ -160,6 +160,7 @@ Test-Suite hjugement-protocol-test
build-depends:
hjugement-protocol
, base >= 4.6 && < 5
+ , aeson >= 1.3
, containers >= 0.5
-- , hashable >= 1.2.6
, QuickCheck >= 2.11
@@ -196,11 +197,11 @@ Benchmark hjugement-protocol-benchmark
NoMonomorphismRestriction
RecordWildCards
ScopedTypeVariables
+ StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
- UndecidableInstances
ghc-options:
-Wall
-Wincomplete-uni-patterns