-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbytehash.cabal
88 lines (79 loc) · 2.42 KB
/
bytehash.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
cabal-version: 3.0
name: bytehash
version: 0.1.1.2
synopsis: Universal hashing of bytes
description:
Taken together, universal hash functions and a good source of entropy
provide a foundation for hash maps guarantee O(1) lookups even if an
adversary chooses the keys. This library implements such a hash map.
The implementation of lookup is tuned for performance. The functions
for building hash maps are not since they are intended to be called
infrequently.
homepage: https://github.com/byteverse/bytehash
bug-reports: https://github.com/byteverse/bytehash/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: [email protected]
copyright: 2020 Andrew Martin
category: Data
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
common build-settings
default-language: Haskell2010
ghc-options: -Wall -Wunused-packages
library
import: build-settings
exposed-modules:
Data.Bytes.Hash
Data.Bytes.HashMap
Data.Bytes.HashMap.Word
other-modules: Data.Bytes.HashMap.Internal
build-depends:
, base >=4.17.1 && <5
, byteslice >=0.2.1 && <0.3
, bytestring >=0.10.8 && <0.13
, containers >=0.6
, entropy >=0.4.1.5 && <0.5
, primitive >=0.9 && <0.10
, primitive-unlifted >=2.1
, transformers >=0.5.6 && <0.7
hs-source-dirs: src
ghc-options: -O2
test-suite test
import: build-settings
type: exitcode-stdio-1.0
main-is: Main.hs
ghc-options: -rtsopts -threaded
hs-source-dirs: test
build-depends:
, base >=4.12 && <5
, bytehash
, byteslice >=0.1.4
, entropy >=0.4.1.5
, hedgehog >=1.0.1
, primitive >=0.6.4
, tasty >=1.0
, tasty-hedgehog
, tasty-hunit >=0.9
benchmark bench
import: build-settings
type: exitcode-stdio-1.0
build-depends:
, base
, bytehash
, byteslice
, bytestring
, entropy
, gauge
, primitive
, primitive-unlifted
, split >=0.2.3.3
, unordered-containers
ghc-options: -O2
hs-source-dirs: bench
main-is: Main.hs
source-repository head
type: git
location: git://github.com/byteverse/bytehash.git