Name:                   hash-tree
Version:                0.0.0
Author:                 Kazu Yamamoto <kazu@iij.ad.jp>
Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp>
License:                BSD3
License-File:           LICENSE
Synopsis:               Merkle Hash Tree
Description:            Purely functional Merkle hash tree which
                        implements appe nd-only logs and
                        provides both inclusion proof and consistency proof.
Category:               Data
Cabal-Version:          >= 1.10
Build-Type:             Simple

Library
  Default-Language:     Haskell2010
  GHC-Options:          -Wall
  Exposed-Modules:      Data.HashTree
  Other-Modules:        Data.HashTree.Internal
  Build-Depends:        base >= 4 && < 5
                      , bytestring
                      , containers
                      , cryptonite
                      , memory

Test-Suite spec
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  HS-Source-Dirs:       test, .
  Ghc-Options:          -Wall
  Main-Is:              Spec.hs
  Other-Modules:        HashTreeSpec
                        Data.HashTree.Internal
  Build-Depends:        base >= 4 && < 5
                      , QuickCheck
                      , bytestring
                      , base64-bytestring
                      , containers
                      , cryptonite
                      , hspec
                      , memory

Source-Repository head
  Type:                 git
  Location:             https://github.com/kazu-yamamoto/hash-tree