ppad-tx.cabal (2059B)
1 cabal-version: 3.0 2 name: ppad-tx 3 version: 0.2.0 4 synopsis: Minimal Bitcoin transaction primitives 5 license: MIT 6 license-file: LICENSE 7 author: Jared Tobin 8 maintainer: jared@ppad.tech 9 category: Cryptography 10 build-type: Simple 11 tested-with: GHC == { 9.10.3 } 12 extra-doc-files: CHANGELOG 13 description: 14 Minimal Bitcoin transaction primitives: raw transaction types, 15 serialisation, txid computation, and legacy, BIP143 segwit and BIP341 16 taproot sighash calculation. 17 18 flag llvm 19 description: Use GHC's LLVM backend. 20 default: False 21 manual: True 22 23 source-repository head 24 type: git 25 location: git.ppad.tech/tx.git 26 27 library 28 default-language: Haskell2010 29 hs-source-dirs: lib 30 ghc-options: 31 -Wall 32 if flag(llvm) 33 ghc-options: -fllvm -O2 34 exposed-modules: 35 Bitcoin.Prim.Tx 36 Bitcoin.Prim.Tx.Sighash 37 other-modules: 38 Bitcoin.Prim.Tx.Internal 39 build-depends: 40 base >= 4.9 && < 5 41 , bytestring >= 0.9 && < 0.13 42 , deepseq >= 1.4 && < 1.6 43 , ppad-base16 >= 0.3 && < 0.4 44 , ppad-sha256 >= 0.3 && < 0.4 45 46 test-suite tx-tests 47 type: exitcode-stdio-1.0 48 default-language: Haskell2010 49 hs-source-dirs: test 50 main-is: Main.hs 51 52 ghc-options: 53 -rtsopts -Wall -fno-warn-orphans 54 55 build-depends: 56 base 57 , bytestring 58 , ppad-base16 59 , ppad-tx 60 , QuickCheck 61 , tasty 62 , tasty-hunit 63 , tasty-quickcheck 64 65 benchmark tx-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 73 74 build-depends: 75 base 76 , bytestring 77 , criterion 78 , ppad-tx 79 80 benchmark tx-weigh 81 type: exitcode-stdio-1.0 82 default-language: Haskell2010 83 hs-source-dirs: bench 84 main-is: Weight.hs 85 86 ghc-options: 87 -rtsopts -O2 -Wall 88 89 build-depends: 90 base 91 , bytestring 92 , ppad-tx 93 , weigh