Cabal revisions of random-bytestring-0.1.3.1
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-Name: random-bytestring-Version: 0.1.3.1-Synopsis: Efficient generation of random bytestrings-Description:- Efficient generation of random bytestrings. The implementation- populates uninitialized memory with uniformily distributed random- 64 bit words (and 8 bit words for remaining bytes at the end of- the bytestring).- .- Random words are generated using the PRNG from- the [mwc-random](https://hackage.haskell.org/package/mwc-random) package- or the [pcg-random](https://hackage.haskell.org/package/pcg-random)- package. It is also possible to use a custom PRNG by providing- an instance for the 'RandomWords' type class and using the function- 'generate' from the module "Data.ByteString.Random.Internal".- .- The generated byte strings are suitable for statistical- applications. They are /not/ suitable for cryptographic- applications.- .- - .- --Homepage: https://www.github.com/larskuhtz/random-bytestring-License: MIT-Author: Lars Kuhtz <lakuhtz@gmail.com>-Maintainer: Lars Kuhtz <lakuhtz@gmail.com>-Copyright: Copyright (c) 2017-2018 Lars Kuhtz <lakuhtz@gmail.com>-Category: System-Build-type: Simple-Cabal-version: >= 1.18-Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1-License-file: LICENSE--extra-doc-files:- README.md,- CHANGELOG.md- benchmarks.png- benchmarks-details.png--source-repository head- type: git- location: https://www.github.com/larskuhtz/random-bytestring--flag with-pcg- Description: compile with support for PCG from pcg-random- default: True--Library- default-language: Haskell2010- hs-source-dirs: src-- exposed-modules:- Data.ByteString.Random- Data.ByteString.Random.Internal- Data.ByteString.Random.MWC-- build-depends:- base >= 4.7 && < 4.12,- bytestring >= 0.10,- mwc-random >= 0.13-- if impl(ghc < 7.10)- build-depends:- nats >= 1.1-- if flag(with-pcg)- exposed-modules:- Data.ByteString.Random.PCG- build-depends:- pcg-random >= 0.1-- ghc-options: -Wall -O2--Benchmark benchmark- default-language: Haskell2010- type: exitcode-stdio-1.0- main-is: benchmark.hs- hs-source-dirs: benchmark- ghc-options: -Wall -O2 -threaded -with-rtsopts=-N -rtsopts- build-depends:- random-bytestring,- async >= 2.1,- base >= 4.7 && < 4.12,- bytestring >= 0.10,- criterion >= 1.1,- entropy >= 0.3,- ghc-prim >= 0.3,- mwc-random >= 0.13,- primitive >= 0.6,- random >= 1.1,- cryptonite >= 0.24-- if impl(ghc < 7.10)- build-depends:- nats >= 1.1-- if impl(ghc < 7.10)- buildable: False-- if flag(with-pcg)- build-depends:- pcg-random >= 0.1-- other-modules:- Benchmarks- Implementations--Benchmark benchmark-compare- default-language: Haskell2010- type: exitcode-stdio-1.0- main-is: benchmark-compare.hs- hs-source-dirs: benchmark- ghc-options: -Wall -O2 -threaded -with-rtsopts=-N -rtsopts- build-depends:- random-bytestring,- async >= 2.1,- base >= 4.7 && < 4.12,- bytestring >= 0.10,- criterion >= 1.1,- entropy >= 0.3,- ghc-prim >= 0.3,- mwc-random >= 0.13,- primitive >= 0.6,- random >= 1.1,- cryptonite >= 0.24-- if impl(ghc < 7.10)- build-depends:- nats >= 1.1-- if impl(ghc < 7.10)- buildable: False-- if flag(with-pcg)- build-depends:- pcg-random >= 0.1-- other-modules:- Benchmarks,- Implementations--Benchmark eventlog-compare- default-language: Haskell2010- type: exitcode-stdio-1.0- main-is: eventlog-compare.hs- hs-source-dirs: benchmark- ghc-options: -Wall -O2 -threaded -with-rtsopts=-N -rtsopts -eventlog- build-depends:- random-bytestring,- async >= 2.1,- base >= 4.7 && < 4.12,- bytestring >= 0.10,- criterion >= 1.1,- entropy >= 0.3,- ghc-prim >= 0.3,- mwc-random >= 0.13,- primitive >= 0.6,- random >= 1.1,- cryptonite >= 0.24-- if impl(ghc < 7.10)- build-depends:- nats >= 1.1-- if impl(ghc < 7.10)- buildable: False-- if flag(with-pcg)- build-depends:- pcg-random >= 0.1-- other-modules:- Benchmarks,- Implementations+Name: random-bytestring +Version: 0.1.3.1 +x-revision: 1 +Synopsis: Efficient generation of random bytestrings +Description: + Efficient generation of random bytestrings. The implementation + populates uninitialized memory with uniformily distributed random + 64 bit words (and 8 bit words for remaining bytes at the end of + the bytestring). + . + Random words are generated using the PRNG from + the [mwc-random](https://hackage.haskell.org/package/mwc-random) package + or the [pcg-random](https://hackage.haskell.org/package/pcg-random) + package. It is also possible to use a custom PRNG by providing + an instance for the 'RandomWords' type class and using the function + 'generate' from the module "Data.ByteString.Random.Internal". + . + The generated byte strings are suitable for statistical + applications. They are /not/ suitable for cryptographic + applications. + . +  + . +  + +Homepage: https://www.github.com/larskuhtz/random-bytestring +License: MIT +Author: Lars Kuhtz <lakuhtz@gmail.com> +Maintainer: Lars Kuhtz <lakuhtz@gmail.com> +Copyright: Copyright (c) 2017-2018 Lars Kuhtz <lakuhtz@gmail.com> +Category: System +Build-type: Simple +Cabal-version: >= 1.18 +Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1 +License-file: LICENSE + +extra-doc-files: + README.md, + CHANGELOG.md + benchmarks.png + benchmarks-details.png + +source-repository head + type: git + location: https://www.github.com/larskuhtz/random-bytestring + +flag with-pcg + Description: compile with support for PCG from pcg-random + default: True + +Library + default-language: Haskell2010 + hs-source-dirs: src + + exposed-modules: + Data.ByteString.Random + Data.ByteString.Random.Internal + Data.ByteString.Random.MWC + + build-depends: + base >= 4.7 && < 5.0, + bytestring >= 0.10, + mwc-random >= 0.13 + + if impl(ghc < 7.10) + build-depends: + nats >= 1.1 + + if flag(with-pcg) + exposed-modules: + Data.ByteString.Random.PCG + build-depends: + pcg-random >= 0.1 + + ghc-options: -Wall -O2 + +Benchmark benchmark + default-language: Haskell2010 + type: exitcode-stdio-1.0 + main-is: benchmark.hs + hs-source-dirs: benchmark + ghc-options: -Wall -O2 -threaded -with-rtsopts=-N -rtsopts + build-depends: + random-bytestring, + async >= 2.1, + base >= 4.7 && < 5.0, + bytestring >= 0.10, + criterion >= 1.1, + entropy >= 0.3, + ghc-prim >= 0.3, + mwc-random >= 0.13, + primitive >= 0.6, + random >= 1.1, + cryptonite >= 0.24 + + if impl(ghc < 7.10) + build-depends: + nats >= 1.1 + + if impl(ghc < 7.10) + buildable: False + + if flag(with-pcg) + build-depends: + pcg-random >= 0.1 + + other-modules: + Benchmarks + Implementations + +Benchmark benchmark-compare + default-language: Haskell2010 + type: exitcode-stdio-1.0 + main-is: benchmark-compare.hs + hs-source-dirs: benchmark + ghc-options: -Wall -O2 -threaded -with-rtsopts=-N -rtsopts + build-depends: + random-bytestring, + async >= 2.1, + base >= 4.7 && < 5.0, + bytestring >= 0.10, + criterion >= 1.1, + entropy >= 0.3, + ghc-prim >= 0.3, + mwc-random >= 0.13, + primitive >= 0.6, + random >= 1.1, + cryptonite >= 0.24 + + if impl(ghc < 7.10) + build-depends: + nats >= 1.1 + + if impl(ghc < 7.10) + buildable: False + + if flag(with-pcg) + build-depends: + pcg-random >= 0.1 + + other-modules: + Benchmarks, + Implementations + +Benchmark eventlog-compare + default-language: Haskell2010 + type: exitcode-stdio-1.0 + main-is: eventlog-compare.hs + hs-source-dirs: benchmark + ghc-options: -Wall -O2 -threaded -with-rtsopts=-N -rtsopts -eventlog + build-depends: + random-bytestring, + async >= 2.1, + base >= 4.7 && < 5.0, + bytestring >= 0.10, + criterion >= 1.1, + entropy >= 0.3, + ghc-prim >= 0.3, + mwc-random >= 0.13, + primitive >= 0.6, + random >= 1.1, + cryptonite >= 0.24 + + if impl(ghc < 7.10) + build-depends: + nats >= 1.1 + + if impl(ghc < 7.10) + buildable: False + + if flag(with-pcg) + build-depends: + pcg-random >= 0.1 + + other-modules: + Benchmarks, + Implementations