-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebuggable.cabal
115 lines (99 loc) · 2.83 KB
/
debuggable.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
cabal-version: 3.0
name: debuggable
version: 0.1.0
synopsis: Utilities for making your applications more debuggable.
description: This package provides various utilities that can be used to
make your application easier to debug. Some of these tools are
intended for use during actual debugging only (similar to
@Debug.Trace@, for example). Other tools can be used as a
regular component in your application, to facilitate debugging
if and when necessary, but always present in your code.
license: BSD-3-Clause
license-file: LICENSE
author: Edsko de Vries
maintainer: [email protected]
category: Development
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC==8.10.7
, GHC==9.2.8
, GHC==9.4.8
, GHC==9.6.6
, GHC==9.8.2
, GHC==9.10.1
source-repository head
type: git
location: https://github.com/well-typed/debuggable
common lang
default-language: Haskell2010
build-depends: base >= 4.14 && < 4.21
default-extensions:
BangPatterns
DeriveAnyClass
DeriveFunctor
DeriveGeneric
DerivingStrategies
GeneralizedNewtypeDeriving
ImportQualifiedPost
LambdaCase
NamedFieldPuns
NumericUnderscores
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
ghc-options:
-Wall
-Wredundant-constraints
-Wprepositive-qualified-module
-Widentities
-Wmissing-export-lists
if impl(ghc >= 9.0)
ghc-options:
-Wunused-packages
library
import: lang
hs-source-dirs: src
exposed-modules:
Debug.NonInterleavedIO
Debug.NonInterleavedIO.Scoped
Debug.NonInterleavedIO.Trace
Debug.Provenance
Debug.Provenance.Callback
Debug.Provenance.Scope
other-modules:
Debug.Provenance.Internal
build-depends:
, containers >= 0.6 && < 0.8
, exceptions >= 0.9 && < 0.11
, hashable >= 1.4 && < 1.6
, temporary >= 1.2.1 && < 1.4
, unordered-containers >= 0.2 && < 0.3
other-extensions:
ImplicitParams
test-suite demo
import: lang
type: exitcode-stdio-1.0
main-is: Demo.hs
hs-source-dirs: demo
ghc-options:
-main-is Demo
-rtsopts
-threaded
"-with-rtsopts=-N"
other-modules:
Cmdline
Demo.Callback
Demo.Callback.Profiling
Demo.Callsite
Demo.Invocation
Demo.NIIO
Demo.Scope
build-depends:
-- inherited dependencies
debuggable
build-depends:
-- additional dependencies
, async >= 2.2 && < 2.3
, optparse-applicative >= 0.18 && < 0.19