-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathencoding.cabal
159 lines (152 loc) · 4.33 KB
/
encoding.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
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
Name: encoding
Version: 0.10
Author: Henning Günther
Maintainer: [email protected], Andrey Prokopenko
License: BSD3
License-File: LICENSE
Synopsis: A library for various character encodings
Description:
Haskell has excellect handling of unicode, the Char type covers all unicode chars. Unfortunately, there's no possibility to read or write something to the outer world in an encoding other than ascii due to the lack of support for encodings. This library should help with that.
Category: Codec
Homepage: https://github.com/dmwit/encoding
Bug-Reports: https://github.com/dmwit/encoding/issues
Cabal-Version: 2.0
Build-Type: Simple
Extra-Source-Files:
CHANGELOG
README.md
system_encoding.h
system_encoding.c
Flag generate-encodings
description: Generate encodings.
manual: True
default: False
Source-Repository head
Type: git
Location: http://github.com/dmwit/encoding
Library
Build-Depends: array >=0.4 && <0.6,
base >=4 && <5,
binary >=0.7 && <0.10,
bytestring >=0.9 && <0.13,
containers >=0.4 && <0.8,
extensible-exceptions >=0.1 && <0.2,
ghc-prim >=0.3 && <0.12,
mtl >=2.0 && <2.4,
regex-compat >=0.71 && <0.96
Default-Language: Haskell2010
Exposed-Modules:
Data.Encoding
Data.Encoding.ByteSource
Data.Encoding.ByteSink
Data.Encoding.Exception
Control.Throws
Data.Encoding.ASCII
Data.Encoding.UTF8
Data.Encoding.UTF16
Data.Encoding.UTF32
Data.Encoding.KOI8R
Data.Encoding.KOI8U
Data.Encoding.ISO88591
Data.Encoding.ISO88592
Data.Encoding.ISO88593
Data.Encoding.ISO88594
Data.Encoding.ISO88595
Data.Encoding.ISO88596
Data.Encoding.ISO88597
Data.Encoding.ISO88598
Data.Encoding.ISO88599
Data.Encoding.ISO885910
Data.Encoding.ISO885911
Data.Encoding.ISO885913
Data.Encoding.ISO885914
Data.Encoding.ISO885915
Data.Encoding.ISO885916
Data.Encoding.CP1250
Data.Encoding.CP1251
Data.Encoding.CP1252
Data.Encoding.CP1253
Data.Encoding.CP1254
Data.Encoding.CP1255
Data.Encoding.CP1256
Data.Encoding.CP1257
Data.Encoding.CP1258
Data.Encoding.GB18030
Data.Encoding.BootString
Data.Encoding.MacOSRoman
Data.Encoding.JISX0201
Data.Encoding.JISX0208
Data.Encoding.JISX0212
Data.Encoding.ISO2022
Data.Encoding.ISO2022JP
Data.Encoding.ShiftJIS
Data.Encoding.CP437
Data.Encoding.CP737
Data.Encoding.CP775
Data.Encoding.CP850
Data.Encoding.CP852
Data.Encoding.CP855
Data.Encoding.CP857
Data.Encoding.CP860
Data.Encoding.CP861
Data.Encoding.CP862
Data.Encoding.CP863
Data.Encoding.CP864
Data.Encoding.CP865
Data.Encoding.CP866
Data.Encoding.CP869
Data.Encoding.CP874
Data.Encoding.CP932
System.IO.Encoding
Data.Static
Other-Modules:
Data.Encoding.Base
Data.Array.Static
Data.Map.Static
Data.CharMap
if impl(ghc >= 7.10)
GHC-Options: -fno-warn-tabs
if !os(windows)
Includes:
system_encoding.h
Install-Includes:
system_encoding.h
C-Sources:
system_encoding.c
executable encoding-exe
main-is: Main.hs
hs-source-dirs: app
if flag(generate-encodings)
build-depends: base
, optparse-applicative
, directory
, filepath
, containers
, HaXml >=1.22 && <1.27
, Cabal >= 2.0 && < 3.14
, encoding
else
buildable: False
other-modules:
Data.Encoding.Preprocessor.Mapping
Data.Encoding.Preprocessor.XMLMapping
Data.Encoding.Preprocessor.XMLMappingBuilder
Data.CharMap.Builder
Data.Map.Static.Builder
Data.Array.Static.Builder
Utils
ghc-options: -threaded -rtsopts -with-rtsopts=-N
Default-Language: Haskell2010
test-suite encoding-test
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
other-modules: Test.Tester
, Test.Tests
build-depends: base
, bytestring
, encoding
, HUnit
, QuickCheck
ghc-options: -threaded -rtsopts -with-rtsopts=-N
Default-Language: Haskell2010