-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.yaml
More file actions
88 lines (77 loc) · 1.88 KB
/
package.yaml
File metadata and controls
88 lines (77 loc) · 1.88 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
name: static-text
version: "0.2.0.7"
synopsis: Lists, Texts, ByteStrings and Vectors of statically known length
description: static-text provides type-level safety for basic operations on
string-like types (finite lists of elements), such as Data.Text,
String (and all lists), Data.ByteString and Data.Vector. Use it
when you need static guarantee on lengths of strings produced in your
code.
github: dzhus/static-text
license: BSD3
author: Dmitry Dzhus
maintainer: dima@dzhus.org
category: Data, Text, Type System
extra-source-files:
- CHANGELOG.md
- README.md
ghc-options:
- -Wall
- -Wcompat
dependencies:
- base < 5
- template-haskell
library:
source-dirs: src
exposed-modules:
- Data.StaticText
- Data.StaticText.Class
- Data.StaticText.TH
when:
- condition: flag(bytestring)
cpp-options: -DWITH_BS
dependencies:
- bytestring
- condition: flag(text)
cpp-options: -DWITH_TEXT
dependencies:
- text
- condition: flag(vector)
cpp-options: -DWITH_VECTOR
dependencies:
- vector
flags:
bytestring:
description: Build interface for ByteString
manual: false
default: true
text:
description: Build interface for Text
manual: false
default: true
vector:
description: Build interface for Vector
manual: false
default: true
tests:
static-text-example:
source-dirs: tests
main: Main.hs
dependencies:
- bytestring
- static-text
- tasty
- tasty-hunit
static-text-doctests:
source-dirs: tests
main: doctest-driver.hs
ghc-options: -threaded
dependencies:
- doctest
- doctest-driver-gen
readme:
main: README.lhs
ghc-options: -pgmL markdown-unlit
dependencies:
- bytestring
- markdown-unlit
- static-text