ppad-fixed.cabal (1972B)
1 cabal-version: 3.0 2 name: ppad-fixed 3 version: 0.0.1 4 synopsis: A large fixed-width integer library. 5 license: MIT 6 license-file: LICENSE 7 author: Jared Tobin 8 maintainer: jared@ppad.tech 9 category: Data 10 build-type: Simple 11 tested-with: GHC == { 9.8.1 } 12 extra-doc-files: CHANGELOG 13 description: 14 Representations for, and operations on, large fixed-width integers. 15 16 flag llvm 17 description: Use GHC's LLVM backend. 18 default: False 19 manual: True 20 21 source-repository head 22 type: git 23 location: git.ppad.tech/fixed.git 24 25 library 26 default-language: Haskell2010 27 hs-source-dirs: lib 28 ghc-options: 29 -Wall 30 if flag(llvm) 31 ghc-options: -fllvm -O2 32 exposed-modules: 33 Data.Choice 34 , Data.Word.Limb 35 , Data.Word.Wide 36 , Data.Word.Wider 37 , Numeric.Montgomery.Secp256k1.Curve 38 , Numeric.Montgomery.Secp256k1.Scalar 39 build-depends: 40 base >= 4.9 && < 5 41 , deepseq >= 1.5 && < 1.6 42 43 test-suite fixed-tests 44 type: exitcode-stdio-1.0 45 default-language: Haskell2010 46 hs-source-dirs: test 47 main-is: Main.hs 48 other-modules: 49 Limb 50 Wide 51 Wider 52 Montgomery.Curve 53 Montgomery.Scalar 54 55 ghc-options: 56 -rtsopts -Wall -O2 57 58 build-depends: 59 base 60 , ppad-fixed 61 , tasty 62 , tasty-hunit 63 , tasty-quickcheck 64 65 benchmark fixed-bench 66 type: exitcode-stdio-1.0 67 default-language: Haskell2010 68 hs-source-dirs: bench 69 main-is: Main.hs 70 71 ghc-options: 72 -rtsopts -O2 -Wall -fno-warn-orphans 73 74 build-depends: 75 base 76 , criterion 77 , ppad-fixed 78 79 benchmark fixed-weigh 80 type: exitcode-stdio-1.0 81 default-language: Haskell2010 82 hs-source-dirs: bench 83 main-is: Weight.hs 84 85 ghc-options: 86 -rtsopts -O2 -Wall -fno-warn-orphans 87 88 build-depends: 89 base 90 , ppad-fixed 91 , weigh 92