packages feed

stable-tree 0.0.2 → 0.1.0

raw patch · 2 files changed

+4/−4 lines, 2 filesdep +cryptohashdep −hs-blake2

Dependencies added: cryptohash

Dependencies removed: hs-blake2

Files

src/Data/StableTree/IO.hs view
@@ -35,7 +35,7 @@ import Blaze.ByteString.Builder.Word       ( fromWord64be ) import Control.Arrow                       ( second ) import Control.Monad.Except                ( ExceptT, runExceptT, liftIO, throwError )-import Crypto.Hash.Tsuraan.Blake2          ( hash )+import Crypto.Hash.Skein256                ( hash ) import Data.ByteString                     ( ByteString ) import Data.Int                            ( Int8, Int16, Int32, Int64 ) import Data.Map                            ( Map )@@ -191,7 +191,7 @@   len = fromShow . BS.length . toByteString  calcId :: Builder -> Id-calcId = right . runGet get . hash 32 . toByteString+calcId = right . runGet get . hash 256 . toByteString   where   right ei =     case ei of
stable-tree.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                stable-tree-version:             0.0.2+version:             0.1.0 synopsis:            Trees whose branches are resistant to change -- description:          homepage:            https://github.com/tsuraan/stable-tree@@ -38,7 +38,7 @@                      , bytestring                      , cereal                      , containers-                     , hs-blake2+                     , cryptohash >= 0.5.1                      , mtl >= 2.2.1                      , text   hs-source-dirs:      src