-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.yaml
120 lines (107 loc) · 2.19 KB
/
package.yaml
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
name: flatparse
version: 0.5.2.1
license: MIT
category: Parsing
synopsis: High-performance parsing from strict bytestrings
author: András Kovács
maintainer: [email protected]
copyright: 2021 András Kovács
bug-reports: https://github.com/AndrasKovacs/flatparse/issues
github: AndrasKovacs/flatparse
description: |
@Flatparse@ is a high-performance parsing library for strict bytestring input. See the README for more information:
<https://github.com/AndrasKovacs/flatparse>.
tested-with:
- GHC == 8.6.5
- GHC == 8.8.4
- GHC == 8.10.7
- GHC == 9.0.2
- GHC == 9.2.5
- GHC == 9.4.4
- GHC == 9.6.6
- GHC == 9.8.3
flags:
llvm:
description: use llvm for building
default: false
manual : true
dump:
description: dump core, stg and cmm to files
default: false
manual: true
dependencies:
- base >= 4.7 && < 5
- utf8-string ^>= 1.0.2
extra-source-files:
- README.md
default-extensions:
- BangPatterns
- BlockArguments
- CPP
- ExplicitNamespaces
- LambdaCase
- MagicHash
- OverloadedStrings
- PatternSynonyms
- TemplateHaskell
- TupleSections
ghc-options:
- -Wall
- -Wno-missing-signatures
- -Wno-name-shadowing
- -Wno-unused-binds
- -Wno-unused-matches
when:
- condition: flag(dump)
ghc-options:
- -ddump-simpl
- -ddump-stg-final
- -ddump-cmm
- -dsuppress-all
- -dno-suppress-type-signatures
- -ddump-to-file
- condition: flag(llvm)
ghc-options:
- -fllvm
library:
source-dirs:
- src
dependencies:
- bytestring
- containers
- integer-gmp
- template-haskell
ghc-options:
- -O2
tests:
spec:
main: Test.hs
source-dirs:
- test
dependencies:
- HUnit
- bytestring
- flatparse
- hspec
- QuickCheck
- quickcheck-instances
default-extensions:
- ExtendedDefaultRules
ghc-options:
- -O2
- -Wno-type-defaults
benchmarks:
bench:
source-dirs: bench
main: Bench.hs
dependencies:
- attoparsec
- bytestring
- flatparse
- gauge
- integer-gmp
- megaparsec
- parsec
- primitive
ghc-options:
- -O2