/
package.yaml
103 lines (96 loc) · 1.87 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
name: rescue
version: '0.4.2.1'
synopsis: More understandable exceptions
description: An error handling library focused on clarity and control
category: Error Handling
author: Brooklyn Zelenka
maintainer: hello@brooklynzelenka.com
copyright: © 2021 Brooklyn Zelenka
license: Apache-2.0
license-file: LICENSE
github: expede/rescue
tested-with: GHC==8.10.4
extra-source-files:
- README.md
ghc-options:
- -Wall
- -Wcompat
- -Widentities
# Warn about too little
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wpartial-fields
# Warn about too much
- -Wredundant-constraints
# Prettier Development
- -fhide-source-paths
dependencies:
- base < 5
- exceptions
- ghc # for STM
- mtl
- text
- transformers
- transformers-base
- world-peace
library:
source-dirs: library
tests:
rescue-doctest:
main: Main.hs
source-dirs: doctest
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- directory
- directory-tree
- doctest
- Glob
- lens-aeson
- QuickCheck
- quickcheck-instances
- yaml
rescue-test:
main: Main.hs
source-dirs:
- library
- test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- hspec
- hspec-core
- hspec-expectations
- rescue
- QuickCheck
- quickcheck-instances
- tasty
- tasty-hunit
- tasty-hspec
- tasty-smallcheck
- tasty-rerun
- transformers
rescue-lint:
main: Main.hs
source-dirs: lint
dependencies:
- base
- hlint
- rio
benchmarks:
rescue-benchmark:
main: Main.hs
source-dirs: benchmark
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -O2
dependencies:
- criterion
- rescue