forked from mmark-md/mmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mmark.cabal
131 lines (124 loc) · 4.98 KB
/
mmark.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
name: mmark
version: 0.0.7.2
cabal-version: 1.18
tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
license: BSD3
license-file: LICENSE.md
author: Mark Karpov <[email protected]>
maintainer: Mark Karpov <[email protected]>
homepage: https://github.com/mmark-md/mmark
bug-reports: https://github.com/mmark-md/mmark/issues
category: Text
synopsis: Strict markdown processor for writers
build-type: Simple
description: Strict markdown processor for writers.
extra-doc-files: CHANGELOG.md
, README.md
data-files: data/*.md
, data/*.html
source-repository head
type: git
location: https://github.com/mmark-md/mmark.git
flag dev
description: Turn on development settings.
manual: True
default: False
library
build-depends: aeson >= 0.11 && < 1.5
, base >= 4.11 && < 5.0
, case-insensitive >= 1.2 && < 1.3
, containers >= 0.5 && < 0.7
, deepseq >= 1.3 && < 1.5
, dlist >= 0.8 && < 0.9
, email-validate >= 2.2 && < 2.4
, foldl >= 1.2 && < 1.5
, hashable >= 1.0.1.1 && < 1.4
, html-entity-map >= 0.1 && < 0.2
, lucid >= 2.6 && < 3.0
, megaparsec >= 8.0 && < 9.0
, microlens >= 0.4 && < 0.5
, microlens-th >= 0.4 && < 0.5
, modern-uri >= 0.3 && < 0.4
, mtl >= 2.0 && < 3.0
, parser-combinators >= 0.4 && < 2.0
, text >= 0.2 && < 1.3
, text-metrics >= 0.3 && < 0.4
, unordered-containers >= 0.2.5 && < 0.3
if !impl(ghcjs)
build-depends: yaml >= 0.8.10 && < 0.12
exposed-modules: Text.MMark
, Text.MMark.Extension
other-modules: Text.MMark.Parser
, Text.MMark.Parser.Internal
, Text.MMark.Parser.Internal.Type
, Text.MMark.Render
, Text.MMark.Trans
, Text.MMark.Type
, Text.MMark.Util
if flag(dev)
ghc-options: -O0 -Wall -Werror
else
ghc-options: -O2 -Wall
if flag(dev)
ghc-options: -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
if impl(ghcjs)
ghcjs-options: +RTS -K1G -RTS -Wall
default-language: Haskell2010
test-suite tests
main-is: Spec.hs
hs-source-dirs: tests
type: exitcode-stdio-1.0
build-depends: QuickCheck >= 2.4 && < 3.0
, aeson >= 0.11 && < 1.5
, base >= 4.11 && < 5.0
, foldl >= 1.2 && < 1.5
, hspec >= 2.0 && < 3.0
, hspec-megaparsec >= 2.0 && < 3.0
, lucid >= 2.6 && < 3.0
, megaparsec >= 8.0 && < 9.0
, mmark
, modern-uri >= 0.3 && < 0.4
, text >= 0.2 && < 1.3
other-modules: Text.MMarkSpec
, Text.MMark.ExtensionSpec
, Text.MMark.TestUtils
if flag(dev)
ghc-options: -O0 -Wall -Werror
else
ghc-options: -O2 -Wall
if impl(ghcjs)
ghcjs-options: -O0 +RTS -K1G -M5G -RTS -Wall -Wwarn=missing-home-modules
default-language: Haskell2010
benchmark bench-speed
main-is: Main.hs
hs-source-dirs: bench/speed
type: exitcode-stdio-1.0
build-depends: base >= 4.11 && < 5.0
, criterion >= 0.6.2.1 && < 1.6
, mmark
, text >= 0.2 && < 1.3
if flag(dev)
ghc-options: -O2 -Wall -Werror
else
ghc-options: -O2 -Wall
if impl(ghcjs)
ghcjs-options: -O0 +RTS -K1G -M6G -RTS -Wall -Wwarn=missing-home-modules
default-language: Haskell2010
benchmark bench-memory
main-is: Main.hs
hs-source-dirs: bench/memory
type: exitcode-stdio-1.0
build-depends: base >= 4.11 && < 5.0
, mmark
, text >= 0.2 && < 1.3
, weigh >= 0.0.4
if flag(dev)
ghc-options: -O2 -Wall -Werror
else
ghc-options: -O2 -Wall
if impl(ghcjs)
ghcjs-options: -O0 +RTS -K1G -M6G -RTS -Wall -Wwarn=missing-home-modules
default-language: Haskell2010