mmark-0.0.2.0: mmark.cabal
name: mmark
version: 0.0.2.0
cabal-version: >= 1.18
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2
license: BSD3
license-file: LICENSE.md
author: Mark Karpov <markkarpov92@gmail.com>
maintainer: Mark Karpov <markkarpov92@gmail.com>
homepage: https://github.com/mrkkrp/mmark
bug-reports: https://github.com/mrkkrp/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/mrkkrp/mmark.git
flag dev
description: Turn on development settings.
manual: True
default: False
library
build-depends: aeson >= 0.11 && < 1.3
, base >= 4.8 && < 5.0
, containers >= 0.5 && < 0.6
, data-default-class
, deepseq >= 1.3 && < 1.5
, email-validate >= 2.2 && < 2.4
, foldl >= 1.2 && < 1.4
, lucid >= 2.6 && < 3.0
, megaparsec >= 6.1 && < 7.0
, modern-uri >= 0.1.1 && < 0.2
, mtl >= 2.0 && < 3.0
, parser-combinators >= 0.2 && < 1.0
, text >= 0.2 && < 1.3
, yaml >= 0.8.10 && < 0.9
if !impl(ghc >= 8.0)
build-depends: semigroups == 0.18.*
if !impl(ghc >= 7.10)
build-depends: void == 0.7.*
if !impl(ghc >= 8.0)
build-depends: semigroups == 0.18.*
exposed-modules: Text.MMark
, Text.MMark.Extension
other-modules: Text.MMark.Internal
, Text.MMark.Parser
if flag(dev)
ghc-options: -O0 -Wall -Werror
else
ghc-options: -O2 -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.3
, base >= 4.8 && < 5.0
, foldl >= 1.2 && < 1.4
, hspec >= 2.0 && < 3.0
, hspec-megaparsec >= 1.0 && < 2.0
, lucid >= 2.6 && < 3.0
, megaparsec >= 6.1 && < 7.0
, mmark
, modern-uri >= 0.1.1 && < 0.2
, text >= 0.2 && < 1.3
if !impl(ghc >= 8.0)
build-depends: semigroups == 0.18.*
other-modules: Text.MMarkSpec
, Text.MMark.ExtensionSpec
, Text.MMark.TestUtils
if flag(dev)
ghc-options: -O0 -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
benchmark bench-speed
main-is: Main.hs
hs-source-dirs: bench/speed
type: exitcode-stdio-1.0
build-depends: base >= 4.8 && < 5.0
, criterion >= 0.6.2.1 && < 1.3
, mmark
, text >= 0.2 && < 1.3
if flag(dev)
ghc-options: -O2 -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
benchmark bench-memory
main-is: Main.hs
hs-source-dirs: bench/memory
type: exitcode-stdio-1.0
build-depends: base >= 4.8 && < 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
default-language: Haskell2010