base58

Pure Haskell base58, base58check encoding/decoding (docs.ppad.tech/base58).
git clone git://git.ppad.tech/base58.git
Log | Files | Refs | README | LICENSE

ppad-base58.cabal (1602B)


      1 cabal-version:      3.0
      2 name:               ppad-base58
      3 version:            0.2.3
      4 synopsis:           base58 and base58check encoding/decoding.
      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   base58 and base58check encoding/decoding on strict bytestrings.
     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/base58.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.ByteString.Base58
     34     , Data.ByteString.Base58Check
     35   build-depends:
     36       base >= 4.9 && < 5
     37     , bytestring >= 0.9 && < 0.13
     38     , ppad-sha256 >= 0.3 && < 0.4
     39 
     40 test-suite base58-tests
     41   type:                exitcode-stdio-1.0
     42   default-language:    Haskell2010
     43   hs-source-dirs:      test
     44   main-is:             Main.hs
     45 
     46   ghc-options:
     47     -rtsopts -Wall -O2
     48 
     49   build-depends:
     50       aeson
     51     , base
     52     , bytestring
     53     , ppad-base16
     54     , ppad-base58
     55     , tasty
     56     , tasty-hunit
     57     , tasty-quickcheck
     58     , text
     59 
     60 benchmark base58-bench
     61   type:                exitcode-stdio-1.0
     62   default-language:    Haskell2010
     63   hs-source-dirs:      bench
     64   main-is:             Main.hs
     65 
     66   ghc-options:
     67     -rtsopts -O2 -Wall
     68 
     69   build-depends:
     70       base
     71     , bytestring
     72     , criterion
     73     , ppad-base58
     74