packages feed

hb3sum 0 → 0.0.0.1

raw patch · 2 files changed

+6/−6 lines, 2 filesdep ~basedep ~blake3dep ~bytestring

Dependency ranges changed: base, blake3, bytestring

Files

Main.hs view
@@ -15,5 +15,5 @@ 	forM_ files $ \file -> do 		bsMapped <- mmapFileByteString file Nothing 		bs <- if B.length bsMapped > 0 then pure bsMapped else B.readFile file-		let digest :: Digest 32 = hash [bs]+		let digest :: Digest 32 = hash Nothing [bs] 		putStrLn (show digest ++ "\t" ++ file)
hb3sum.cabal view
@@ -1,6 +1,6 @@ cabal-version:       3.0 name:                hb3sum-version:             0+version:             0.0.0.1 synopsis:            A command line tool to compute BLAKE3 hashes. description:         A command line tool to compute BLAKE3 hashes. Aims at being a b3sum drop-in replacement. license:             AGPL-3.0-only@@ -18,13 +18,13 @@ Source-repository this   type:              git   location:          https://github.com/l29ah/hb3sum-  tag:               0+  tag:               0.0.0.1  executable hb3sum   main-is:             Main.hs   ghc-options:         -W -Wcompat -fno-warn-tabs-  build-depends:       base >= 4.15 && < 5,-                       blake3 ^>= 0.2,+  build-depends:       base >= 4.9 && < 5,+                       blake3 ^>= 0.3,                        mmap ^>= 0.5.9,-                       bytestring ^>= 0.10,+                       bytestring >= 0.10 && < 0.12,   default-language:    Haskell2010