-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbinrep.cabal
More file actions
207 lines (200 loc) · 5.38 KB
/
binrep.cabal
File metadata and controls
207 lines (200 loc) · 5.38 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.36.1.
--
-- see: https://github.com/sol/hpack
name: binrep
version: 1.1.0
synopsis: Encode precise binary representations directly in types
description: Please see README.md.
category: Data, Serialization, Generics
homepage: https://github.com/raehik/binrep#readme
bug-reports: https://github.com/raehik/binrep/issues
author: Ben Orchard
maintainer: Ben Orchard <thefirstmuffinman@gmail.com>
license: MIT
license-file: LICENSE
build-type: Simple
tested-with:
GHC==9.8
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/raehik/binrep
flag icu
description: use text-icu package (requires ICU library)
manual: True
default: True
library
exposed-modules:
Binrep
Binrep.BLen
Binrep.CBLen
Binrep.Common.Class.TypeErrors
Binrep.Common.Via.Generically.NonSum
Binrep.Common.Via.Prim
Binrep.Example.Sum
Binrep.Example.Tga
Binrep.Generic
Binrep.Get
Binrep.Get.Error
Binrep.Get.Struct
Binrep.Put
Binrep.Put.Struct
Binrep.Type.AsciiNat
Binrep.Type.Derived.NullTermPadded
Binrep.Type.Magic
Binrep.Type.NullPadded
Binrep.Type.NullTerminated
Binrep.Type.Prefix.Count
Binrep.Type.Prefix.Internal
Binrep.Type.Prefix.Size
Binrep.Type.Sized
Binrep.Type.Text
Binrep.Type.Text.Encoding.Ascii
Binrep.Type.Text.Encoding.ShiftJis
Binrep.Type.Text.Encoding.Utf16
Binrep.Type.Text.Encoding.Utf32
Binrep.Type.Text.Encoding.Utf8
Binrep.Type.Text.Internal
Binrep.Type.Thin
Binrep.Util.ByteOrder
Binrep.Util.Generic
Raehik.Compat.FlatParse.Basic.CutWithPos
Raehik.Compat.FlatParse.Basic.Prim
Raehik.Compat.FlatParse.Basic.Remaining
Raehik.Compat.FlatParse.Basic.WithLength
Util.TypeNats
other-modules:
Paths_binrep
hs-source-dirs:
src
default-extensions:
LambdaCase
NoStarIsType
DerivingVia
DeriveAnyClass
GADTs
RoleAnnotations
DefaultSignatures
TypeFamilies
DataKinds
MagicHash
ghc-options: -fhide-source-paths -Wall
build-depends:
base >=4.18 && <5
, bytestring >=0.11 && <0.13
, bytezap >=1.6.0 && <1.7
, deepseq >=1.4.6.1 && <1.6
, defun-core ==0.1.*
, flatparse >=0.5.0.2 && <0.6
, generic-data-functions >=0.6.0 && <0.7
, generic-type-asserts >=0.3.0 && <0.4
, generic-type-functions >=0.1.0 && <0.2
, ghc-bignum ==1.3.*
, parser-combinators >=1.3.0 && <1.4
, rerefined >=0.8.0 && <0.9
, text >=2.0 && <2.2
, text-builder-linear >=0.1.3 && <0.2
, type-level-bytestrings >=0.1.0 && <0.3
, type-level-show >=0.3.0 && <0.4
default-language: GHC2021
if flag(icu)
cpp-options: -DHAVE_ICU
build-depends:
text-icu >=0.7.0.0 && <0.9
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
ArbitraryOrphans
Binrep.GenericSpec
Binrep.TypesSpec
Paths_binrep
hs-source-dirs:
test
default-extensions:
LambdaCase
NoStarIsType
DerivingVia
DeriveAnyClass
GADTs
RoleAnnotations
DefaultSignatures
TypeFamilies
DataKinds
MagicHash
ghc-options: -fhide-source-paths -Wall
build-tool-depends:
hspec-discover:hspec-discover >=2.7 && <2.12
build-depends:
QuickCheck >=2.14.2 && <2.16
, base >=4.18 && <5
, binrep
, bytestring >=0.11 && <0.13
, bytezap >=1.6.0 && <1.7
, deepseq >=1.4.6.1 && <1.6
, defun-core ==0.1.*
, flatparse >=0.5.0.2 && <0.6
, generic-data-functions >=0.6.0 && <0.7
, generic-random >=1.5.0.1 && <1.6
, generic-type-asserts >=0.3.0 && <0.4
, generic-type-functions >=0.1.0 && <0.2
, ghc-bignum ==1.3.*
, hspec >=2.7 && <2.12
, parser-combinators >=1.3.0 && <1.4
, quickcheck-instances >=0.3.26 && <0.4
, rerefined >=0.8.0 && <0.9
, text >=2.0 && <2.2
, text-builder-linear >=0.1.3 && <0.2
, type-level-bytestrings >=0.1.0 && <0.3
, type-level-show >=0.3.0 && <0.4
default-language: GHC2021
if flag(icu)
cpp-options: -DHAVE_ICU
build-depends:
text-icu >=0.7.0.0 && <0.9
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Paths_binrep
hs-source-dirs:
bench
default-extensions:
LambdaCase
NoStarIsType
DerivingVia
DeriveAnyClass
GADTs
RoleAnnotations
DefaultSignatures
TypeFamilies
DataKinds
MagicHash
ghc-options: -fhide-source-paths -Wall
build-depends:
base >=4.18 && <5
, binrep
, bytestring >=0.11 && <0.13
, bytezap >=1.6.0 && <1.7
, deepseq >=1.4.6.1 && <1.6
, defun-core ==0.1.*
, flatparse >=0.5.0.2 && <0.6
, gauge
, generic-data-functions >=0.6.0 && <0.7
, generic-type-asserts >=0.3.0 && <0.4
, generic-type-functions >=0.1.0 && <0.2
, ghc-bignum ==1.3.*
, parser-combinators >=1.3.0 && <1.4
, rerefined >=0.8.0 && <0.9
, text >=2.0 && <2.2
, text-builder-linear >=0.1.3 && <0.2
, type-level-bytestrings >=0.1.0 && <0.3
, type-level-show >=0.3.0 && <0.4
default-language: GHC2021
if flag(icu)
cpp-options: -DHAVE_ICU
build-depends:
text-icu >=0.7.0.0 && <0.9