Skip to content

Commit

Permalink
Removed unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
crockeea committed Feb 24, 2017
1 parent 7b938a6 commit b1ebd17
Show file tree
Hide file tree
Showing 10 changed files with 55 additions and 87 deletions.
4 changes: 4 additions & 0 deletions lol-apps/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog for lol project
================================

0.2.0.2
----
* Removed unnecessary dependencies.

0.2.0.1
----
* Fixed compile error in KHPRFTests.
Expand Down
28 changes: 3 additions & 25 deletions lol-apps/lol-apps.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: lol-apps
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.2.0.1
version: 0.2.0.2
synopsis: Lattice-based cryptographic applications using <https://hackage.haskell.org/package/lol lol>.
homepage: https://github.com/cpeikert/Lol
Bug-Reports: https://github.com/cpeikert/Lol/issues
Expand Down Expand Up @@ -88,26 +88,15 @@ test-suite test-apps
ghc-options: -threaded -rtsopts

build-depends:
arithmoi < 0.5,
base >= 4.9 && < 5,
constraints < 0.10,
deepseq < 1.5,
DRBG < 0.6,
lol >= 0.6.0.0 && < 0.7,
lol-apps,
lol-cpp < 0.1,
lol-repa < 0.1,
lol-tests < 0.1,
MonadRandom < 0.6,
mtl < 2.3,
numeric-prelude < 0.5,
QuickCheck >= 2.8 && < 3.0,
random < 1.2,
-- repa < 3.5,
singletons < 2.3,
test-framework >= 0.8 && < 0.9,
test-framework-quickcheck2 >= 0.3 && < 0.4,
vector < 0.13
test-framework >= 0.8 && < 0.9

Benchmark bench-apps
type: exitcode-stdio-1.0
Expand All @@ -124,11 +113,7 @@ Benchmark bench-apps
-- ghc-options: -fno-liberate-case -funfolding-use-threshold1000 -funfolding-keeness-factor1000

build-depends:
arithmoi < 0.5,
base >= 4.9 && < 5,
containers < 0.6,
criterion < 1.2,
deepseq < 1.5,
DRBG < 0.6,
lol >= 0.6.0.0 && < 0.7,
lol-apps,
Expand All @@ -137,11 +122,7 @@ Benchmark bench-apps
lol-repa < 0.1,
MonadRandom < 0.6,
mtl < 2.3,
numeric-prelude < 0.5,
singletons < 2.3,
transformers < 0.6,
vector < 0.13,
repa >=3.4 && < 3.5
numeric-prelude < 0.5

executable homomprf
hs-source-dirs: examples
Expand All @@ -153,7 +134,6 @@ executable homomprf
ghc-options: -threaded -rtsopts -O2

build-depends:
arithmoi < 0.5,
base >= 4.9 && < 5,
deepseq < 1.5,
DRBG < 0.6,
Expand All @@ -176,7 +156,6 @@ executable khprf
ghc-options: -threaded -rtsopts -O2

build-depends:
arithmoi < 0.5,
base >= 4.9 && < 5,
deepseq < 1.5,
lol >= 0.6.0.0 && < 0.7,
Expand All @@ -195,7 +174,6 @@ executable symmshe
ghc-options: -threaded -rtsopts -O2

build-depends:
arithmoi < 0.5,
base >= 4.9 && < 5,
lol >= 0.6.0.0 && < 0.7,
lol-apps,
Expand Down
4 changes: 4 additions & 0 deletions lol-benches/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog for lol-benches project
================================

0.0.0.4
-----
* Removed unnecessary dependencies.

0.0.0.3
-----
* Removed imports of Simple*Benches.
Expand Down
3 changes: 1 addition & 2 deletions lol-benches/lol-benches.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: lol-benches
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.0.0.3
version: 0.0.0.4
synopsis: A library for benchmarking <https://hackage.haskell.org/package/lol lol>.
homepage: https://github.com/cpeikert/Lol
Bug-Reports: https://github.com/cpeikert/Lol/issues
Expand Down Expand Up @@ -58,7 +58,6 @@ library
MonadRandom < 0.6,
split < 0.3,
statistics < 0.14,
transformers < 0.6,
-- EAC: lol-benches does NOT depend on vector. However, cabal can't resolve
-- dependencies without some help on the vector version. This is a bottleneck
-- preventing us from putting lol-benches on stackage.
Expand Down
4 changes: 4 additions & 0 deletions lol-cpp/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog for lol-cpp project
================================

0.0.0.3
----
* Removed unnecessary dependencies.

0.0.0.2
----
* Removed unnecessary dependency on 'repa'.
Expand Down
19 changes: 2 additions & 17 deletions lol-cpp/lol-cpp.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: lol-cpp
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.0.0.2
version: 0.0.0.3
synopsis: A fast C++ backend for <https://hackage.haskell.org/package/lol lol>.
homepage: https://github.com/cpeikert/Lol
Bug-Reports: https://github.com/cpeikert/Lol/issues
Expand Down Expand Up @@ -77,30 +77,15 @@ library
Crypto.Lol.Cyclotomic.Tensor.CPP.Instances

build-depends:
arithmoi >= 0.4.1.3 && < 0.5,
base >= 4.9 && < 5,
bytestring < 0.11,
constraints < 0.10,
containers >= 0.5.6.2 && < 0.6,
crypto-api < 0.14,
data-default >= 0.3.0 && < 0.8,
deepseq >= 1.4.1.1 && < 1.5,
lol >= 0.6.0.0 && < 0.7,
monadcryptorandom < 0.8,
MonadRandom >= 0.2 && < 0.6,
mtl >= 2.2.1 && < 2.3,
numeric-prelude >= 0.4.2 && < 0.5,
protocol-buffers < 2.5,
protocol-buffers-descriptor < 2.5,
random >= 1.1 && < 1.2,
reflection >= 1.5.1 && < 2.2,
singletons >= 1.1.2.1 && < 2.3,
th-desugar >= 1.5.4 && < 1.7,
tagged-transformer >= 0.7 && < 0.9,
template-haskell >= 2.2.0.0 && < 2.12,
transformers >= 0.4.2.0 && < 0.6,
vector>=0.11 && < 0.13,
vector-th-unbox >= 0.2.1.0 && < 0.3
vector>=0.11 && < 0.13

other-extensions: TemplateHaskell

Expand Down
4 changes: 4 additions & 0 deletions lol-repa/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog for lol-repa project
================================

0.0.0.2
----
* Removed unnecessary dependencies.

0.0.0.1
----
* Initial split from lol package.
14 changes: 1 addition & 13 deletions lol-repa/lol-repa.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: lol-repa
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.0.0.1
version: 0.0.0.2
synopsis: A repa backend for <https://hackage.haskell.org/package/lol lol>.
homepage: https://github.com/cpeikert/Lol
Bug-Reports: https://github.com/cpeikert/Lol/issues
Expand Down Expand Up @@ -63,29 +63,17 @@ library
Crypto.Lol.Cyclotomic.Tensor.Repa.RTCommon

build-depends:
arithmoi >= 0.4.1.3 && < 0.5,
base >= 4.9 && < 5,
bytestring < 0.11,
constraints < 0.10,
containers >= 0.5.6.2 && < 0.6,
crypto-api < 0.14,
data-default >= 0.3.0 && < 0.8,
deepseq >= 1.4.1.1 && < 1.5,
lol >= 0.6.0.0 && < 0.7,
monadcryptorandom < 0.8,
MonadRandom >= 0.2 && < 0.6,
mtl >= 2.2.1 && < 2.3,
numeric-prelude >= 0.4.2 && < 0.5,
protocol-buffers < 2.5,
protocol-buffers-descriptor < 2.5,
random >= 1.1 && < 1.2,
reflection >= 1.5.1 && < 2.2,
repa >=3.4 && < 3.5,
singletons >= 1.1.2.1 && < 2.3,
th-desugar >= 1.5.4 && < 1.7,
tagged-transformer >= 0.7 && < 0.9,
template-haskell >= 2.2.0.0 && < 2.12,
transformers >= 0.4.2.0 && < 0.6,
vector>=0.11 && < 0.13,
vector-th-unbox >= 0.2.1.0 && < 0.3

Expand Down
4 changes: 4 additions & 0 deletions rlwe-challenges/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog for rlwe-challenges project
================================

0.1.0.1
----
* Removed unnecessary dependencies.

0.1.0.0
----
* Support for creating/reading challenges over a base product-ring.
Expand Down
58 changes: 28 additions & 30 deletions rlwe-challenges/rlwe-challenges.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: rlwe-challenges
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
version: 0.1.0.1
synopsis: Ring-LWE/LWR challenges using Lol.
homepage: https://github.com/cpeikert/Lol
Bug-Reports: https://github.com/cpeikert/Lol/issues
Expand Down Expand Up @@ -58,26 +58,27 @@ library
Crypto.RLWE.Challenges.Suppress
Crypto.RLWE.Challenges.Verify

build-depends: ansi-terminal < 0.7,
base >= 4.9 && < 5,
bytestring < 0.11,
containers < 0.6,
directory < 1.4,
DRBG < 0.6,
filepath < 1.5,
http-client >= 0.5 && < 0.6,
http-conduit < 2.3,
lol >= 0.6.0.0 && < 0.7,
lol-cpp < 0.1,
MonadRandom < 0.6,
mtl < 2.3,
nist-beacon < 0.3,
parsec < 3.2,
protocol-buffers < 2.5,
protocol-buffers-descriptor < 2.5,
reflection < 2.2,
tagged < 0.9,
time < 1.9
build-depends:
ansi-terminal < 0.7,
base >= 4.9 && < 5,
bytestring < 0.11,
containers < 0.6,
directory < 1.4,
DRBG < 0.6,
filepath < 1.5,
http-client >= 0.5 && < 0.6,
http-conduit < 2.3,
lol >= 0.6.0.0 && < 0.7,
lol-cpp < 0.1,
MonadRandom < 0.6,
mtl < 2.3,
nist-beacon < 0.3,
parsec < 3.2,
protocol-buffers < 2.5,
protocol-buffers-descriptor < 2.5,
reflection < 2.2,
tagged < 0.9,
time < 1.9

executable rlwe-challenges
default-language: Haskell2010
Expand All @@ -87,12 +88,9 @@ executable rlwe-challenges

ghc-options: -threaded -rtsopts -O2 -fno-warn-partial-type-signatures

build-depends: ansi-terminal < 0.7,
base >= 4.9 && < 5,
lol >= 0.6.0.0 && < 0.7,
MonadRandom < 0.6,
options < 1.3,
protocol-buffers < 2.5,
rlwe-challenges,
time < 1.9,
transformers < 0.6
build-depends:
ansi-terminal < 0.7,
base >= 4.9 && < 5,
options < 1.3,
rlwe-challenges,
time < 1.9

0 comments on commit b1ebd17

Please sign in to comment.