bech32

Pure Haskell bech32, bech32m encodings (docs.ppad.tech/bech32).
git clone git://git.ppad.tech/bech32.git
Log | Files | Refs | README | LICENSE

ppad-bech32.cabal (1575B)


      1 cabal-version:      3.0
      2 name:               ppad-bech32
      3 version:            0.1.2
      4 synopsis:           The bech32 and bech32m encodings, per BIPs 173 & 350.
      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   The bech32 and bech32m encodings on strict bytestrings, per BIPs 173 &
     15   350.
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bech32.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Data.ByteString.Base32
     28     , Data.ByteString.Bech32
     29     , Data.ByteString.Bech32m
     30   build-depends:
     31       base >= 4.9 && < 5
     32     , bytestring >= 0.9 && < 0.13
     33     , primitive >= 0.8 && < 0.10
     34 
     35 test-suite bech32-tests
     36   type:                exitcode-stdio-1.0
     37   default-language:    Haskell2010
     38   hs-source-dirs:      test
     39   main-is:             Main.hs
     40   other-modules:
     41       Reference.Bech32
     42 
     43   ghc-options:
     44     -rtsopts -Wall -O2
     45 
     46   build-depends:
     47       base
     48     , array
     49     , bytestring
     50     , ppad-bech32
     51     , tasty
     52     , tasty-quickcheck
     53 
     54 benchmark bech32-bench
     55   type:                exitcode-stdio-1.0
     56   default-language:    Haskell2010
     57   hs-source-dirs:      bench
     58   main-is:             Main.hs
     59   other-modules:
     60       Reference.Bech32
     61 
     62   ghc-options:
     63     -rtsopts -O2 -Wall
     64 
     65   build-depends:
     66       base
     67     , array
     68     , bytestring
     69     , criterion
     70     , deepseq
     71     , ppad-bech32
     72