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


      1 cabal-version:      3.0
      2 name:               ppad-base16
      3 version:            0.1.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-quickcheck
     47 
     48 benchmark base16-bench
     49   type:                exitcode-stdio-1.0
     50   default-language:    Haskell2010
     51   hs-source-dirs:      bench
     52   main-is:             Main.hs
     53 
     54   ghc-options:
     55     -rtsopts -O2 -Wall
     56 
     57   build-depends:
     58       base
     59     , base16
     60     , base16-bytestring
     61     , bytestring
     62     , criterion
     63     , ppad-base16
     64 
     65 benchmark base16-weigh
     66   type:                exitcode-stdio-1.0
     67   default-language:    Haskell2010
     68   hs-source-dirs:      bench
     69   main-is:             Weight.hs
     70 
     71   ghc-options:
     72     -rtsopts -O2 -Wall
     73 
     74   build-depends:
     75       base
     76     , base16
     77     , base16-bytestring
     78     , bytestring
     79     , criterion
     80     , ppad-base16
     81     , weigh
     82