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 (1448B)


      1 cabal-version:      3.0
      2 name:               ppad-base58
      3 version:            0.1.0
      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.8.1
     12 extra-doc-files:    CHANGELOG
     13 description:
     14   base58 and base58check encoding/decoding on strict bytestrings.
     15 
     16 source-repository head
     17   type:     git
     18   location: git.ppad.tech/base58.git
     19 
     20 library
     21   default-language: Haskell2010
     22   hs-source-dirs:   lib
     23   ghc-options:
     24       -Wall
     25   exposed-modules:
     26       Data.ByteString.Base58
     27     , Data.ByteString.Base58Check
     28   build-depends:
     29       base >= 4.9 && < 5
     30     , bytestring >= 0.9 && < 0.13
     31     , ppad-sha256 > 0.2 && < 0.3
     32 
     33 test-suite base58-tests
     34   type:                exitcode-stdio-1.0
     35   default-language:    Haskell2010
     36   hs-source-dirs:      test
     37   main-is:             Main.hs
     38 
     39   ghc-options:
     40     -rtsopts -Wall -O2
     41 
     42   build-depends:
     43       aeson
     44     , base
     45     , base16-bytestring
     46     , bytestring
     47     , ppad-base58
     48     , tasty
     49     , tasty-hunit
     50     , text
     51 
     52 benchmark base58-bench
     53   type:                exitcode-stdio-1.0
     54   default-language:    Haskell2010
     55   hs-source-dirs:      bench
     56   main-is:             Main.hs
     57 
     58   ghc-options:
     59     -rtsopts -O2 -Wall
     60 
     61   build-depends:
     62       base
     63     , bytestring
     64     , criterion
     65     , ppad-base58
     66