-
Notifications
You must be signed in to change notification settings - Fork 3
/
with-utf8.cabal
103 lines (97 loc) · 2.9 KB
/
with-utf8.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
cabal-version: 1.18
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
name: with-utf8
version: 1.1.0.0
synopsis: Get your IO right on the first try
description: This minimalistic library helps you navigate the world of text encodings
avoiding @invalid argument (invalid byte sequence)@
and @invalid argument (invalid character)@ in runtime.
.
See <https://serokell.io/blog/haskell-with-utf8 this blog post> for why this
library exists and what exactly it does.
.
The two most important modules are:
.
* "Main.Utf8"
* "System.IO.Utf8"
category: IO
homepage: https://github.com/serokell/haskell-with-utf8#readme
bug-reports: https://github.com/serokell/haskell-with-utf8/issues
author: Kirill Elagin <[email protected]>
maintainer: Kirill Elagin <[email protected]>
copyright: 2020 Serokell
license: MPL-2.0
license-file: LICENSES/MPL-2.0.txt
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/serokell/haskell-with-utf8
library
exposed-modules:
Data.Text.IO.Utf8
Data.Text.Lazy.IO.Utf8
Main.Utf8
System.IO.Utf8
System.IO.Utf8.Internal
other-modules:
Paths_with_utf8
hs-source-dirs:
lib
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-depends:
base >=4.10 && <4.21
, safe-exceptions ==0.1.*
, text >=0.7 && <2.2
default-language: Haskell2010
executable utf8-troubleshoot
main-is: Main.hs
other-modules:
Paths_with_utf8
hs-source-dirs:
app/utf8-troubleshoot
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
c-sources:
app/utf8-troubleshoot/cbits/locale.c
build-depends:
base >=4.10 && <4.21
, directory >=1.2.5.0 && <1.4
, filepath >=1.0 && <1.6
, process >=1.0.1.1 && <1.7
, safe-exceptions
, text >=0.7 && <2.2
, th-env >=0.1.0.0 && <0.2
default-language: Haskell2010
test-suite with-utf8-test
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules:
Test.Utf8.Choice
Test.Utf8.ReadWrite
Test.Utf8.Set
Test.Util
Tree
Paths_with_utf8
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-tool-depends:
tasty-discover:tasty-discover
build-depends:
HUnit
, base >=4.10 && <4.21
, deepseq
, hedgehog
, safe-exceptions
, tasty
, tasty-hedgehog
, tasty-hunit
, temporary
, text >=0.7 && <2.2
, unix
, with-utf8
default-language: Haskell2010