base16

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

ppad-base16.cabal (1757B)


      1 cabal-version:      3.0
      2 name:               ppad-base16
      3 version:            0.2.0
      4 synopsis:           Pure base16 encoding and decoding on bytestrings.
      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   Pure base16 (hexadecimal) encoding and decoding on bytestrings.
     15 
     16 source-repository head
     17   type:     git
     18   location: git.ppad.tech/base16.git
     19 
     20 library
     21   default-language: Haskell2010
     22   hs-source-dirs:   lib
     23   ghc-options:
     24       -Wall
     25   exposed-modules:
     26       Data.ByteString.Base16
     27   build-depends:
     28       base >= 4.9 && < 5
     29     , bytestring >= 0.9 && < 0.13
     30 
     31 test-suite base16-tests
     32   type:                exitcode-stdio-1.0
     33   default-language:    Haskell2010
     34   hs-source-dirs:      test
     35   main-is:             Main.hs
     36 
     37   ghc-options:
     38     -rtsopts -Wall -O2
     39 
     40   build-depends:
     41       base
     42     , base16-bytestring
     43     , bytestring
     44     , ppad-base16
     45     , tasty
     46     , tasty-hunit
     47     , tasty-quickcheck
     48 
     49 benchmark base16-bench
     50   type:                exitcode-stdio-1.0
     51   default-language:    Haskell2010
     52   hs-source-dirs:      bench
     53   main-is:             Main.hs
     54 
     55   ghc-options:
     56     -rtsopts -O2 -Wall
     57 
     58   build-depends:
     59       base
     60     , base16
     61     , base16-bytestring
     62     , bytestring
     63     , criterion
     64     , ppad-base16
     65 
     66 benchmark base16-weigh
     67   type:                exitcode-stdio-1.0
     68   default-language:    Haskell2010
     69   hs-source-dirs:      bench
     70   main-is:             Weight.hs
     71 
     72   ghc-options:
     73     -rtsopts -O2 -Wall
     74 
     75   build-depends:
     76       base
     77     , base16
     78     , base16-bytestring
     79     , bytestring
     80     , criterion
     81     , ppad-base16
     82     , weigh
     83