script

Representations and fast conversions for Script (docs.ppad.tech/script).
git clone git://git.ppad.tech/script.git
Log | Files | Refs | README | LICENSE

ppad-script.cabal (1910B)


      1 cabal-version:      3.0
      2 name:               ppad-script
      3 version:            0.2.1
      4 synopsis:           Primitive Script support.
      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.8.1 }
     12 extra-doc-files:    CHANGELOG
     13 description:
     14   Representations for [Script](https://en.bitcoin.it/wiki/Script),
     15   including abstract syntax, 'ByteArray', and base16-encoded
     16   'ByteString' versions, as well as fast conversion utilities for
     17   working with them.
     18 
     19 source-repository head
     20   type:     git
     21   location: git.ppad.tech/script.git
     22 
     23 library
     24   default-language: Haskell2010
     25   hs-source-dirs:   lib
     26   ghc-options:
     27       -Wall
     28   exposed-modules:
     29       Bitcoin.Prim.Script
     30   build-depends:
     31       base >= 4.9 && < 5
     32     , bytestring >= 0.9 && < 0.13
     33     , primitive >= 0.8 && < 0.10
     34     , ppad-base16 >= 0.1 && < 0.2
     35 
     36 test-suite script-tests
     37   type:                exitcode-stdio-1.0
     38   default-language:    Haskell2010
     39   hs-source-dirs:      test
     40   main-is:             Main.hs
     41 
     42   ghc-options:
     43     -rtsopts -Wall
     44 
     45   build-depends:
     46     , base
     47     , bytestring
     48     , ppad-base16
     49     , ppad-script
     50     , primitive
     51     , tasty
     52     , tasty-hunit
     53     , tasty-quickcheck
     54 
     55 benchmark script-bench
     56   type:                exitcode-stdio-1.0
     57   default-language:    Haskell2010
     58   hs-source-dirs:      bench
     59   main-is:             Main.hs
     60 
     61   ghc-options:
     62     -rtsopts -O2 -Wall
     63 
     64   build-depends:
     65       base
     66     , bytestring
     67     , criterion
     68     , deepseq
     69     , ppad-script
     70     , primitive
     71 
     72 benchmark script-weigh
     73   type:                exitcode-stdio-1.0
     74   default-language:    Haskell2010
     75   hs-source-dirs:      bench
     76   main-is:             Weight.hs
     77 
     78   ghc-options:
     79     -rtsopts -O2 -Wall
     80 
     81   build-depends:
     82       base
     83     , bytestring
     84     , deepseq
     85     , ppad-script
     86     , weigh
     87