-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgalois-field.cabal
101 lines (89 loc) · 2.45 KB
/
galois-field.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
89
90
91
92
93
94
95
96
97
98
99
100
101
cabal-version: 3.0
name: galois-field
version: 2.0.0
synopsis: Galois field library
description:
An efficient implementation of Galois fields used in cryptography research
category: Cryptography
homepage: https://github.com/adjoint-io/galois-field#readme
bug-reports: https://github.com/adjoint-io/galois-field/issues
maintainer: Adjoint Inc ([email protected])
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
ChangeLog.md
README.notex.md
common warnings
ghc-options: -Wall -Wredundant-constraints -Werror
common deps
build-depends:
, base >=4.18 && <5
, binary >=0.8.9 && <0.9
, bitvec ^>=1.1.3
, groups >=0.4.1 && <0.6
, integer-gmp ^>=1.1
, mod ^>=0.1.0
, MonadRandom ^>=0.6
, poly >=0.3.2 && <0.6
, protolude ^>=0.3.3
, propagators ^>=0.1.0
, QuickCheck >=2.13 && <2.15
, semirings ^>=0.7
, vector ^>=0.13.0
, wl-pprint-text ^>=1.2.0
common extensions
default-extensions:
NoImplicitPrelude
DataKinds
OverloadedLists
OverloadedStrings
PatternSynonyms
TypeFamilies
TypeOperators
library
import: warnings, extensions, deps
exposed-modules: Data.Field.Galois
other-modules:
Data.Field.Galois.Base
Data.Field.Galois.Binary
Data.Field.Galois.Extension
Data.Field.Galois.Frobenius
Data.Field.Galois.Prime
Data.Field.Galois.Sqrt
Data.Field.Galois.Tower
Data.Field.Galois.Unity
hs-source-dirs: src
ghc-options: -freverse-errors -O2
default-language: GHC2021
test-suite galois-field-tests
import: warnings, extensions, deps
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Test.Binary
Test.Extension
Test.Galois
Test.Prime
hs-source-dirs: test
ghc-options: -freverse-errors -O2
build-depends:
, galois-field
, tasty
, tasty-quickcheck
default-language: GHC2021
benchmark galois-field-benchmarks
import: warnings, extensions, deps
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Bench.Binary
Bench.Extension
Bench.Galois
Bench.Prime
hs-source-dirs: bench
ghc-options: -freverse-errors -O2
build-depends:
, criterion
, galois-field
default-language: GHC2021