-- This file has been generated from package.yaml by hpack version 0.14.1.
--
-- see: https://github.com/sol/hpack

name:                commonmark-parser
version:             0.1.0.0
synopsis:            Parser for Commonmark (markdown)
description:         See <https://github.com/zudov/haskell-commonmark#readme README>
license:             BSD3
license-file:        LICENSE
author:              Konstantin Zudov
maintainer:          co@zudov.me
copyright:           (c) Konstantin Zudov, 2014, 2015, 2016
category:            Text
build-type:          Simple
cabal-version:       >= 1.10

library
  hs-source-dirs:
      src/
    , extended/
  exposed-modules:
      Text.Commonmark.Parser
      Text.Commonmark.Parser.Options
  other-modules:
      Text.Commonmark.Parser.Inline
      Text.Commonmark.Parser.Util
      Text.Commonmark.ParserCombinators
      Text.Commonmark.Types
      Text.Html.Email.Validate
      Data.Char.Extended
      Data.Text.Extended
      Paths_commonmark_parser
  other-extensions: OverloadedStrings TupleSections TupleSections ViewPatterns OverloadedStrings LambdaCase RecordWildCards
  build-depends:
      text
    , commonmark-ast
    , base >=4.7 && <5.0
    , html5-entity >=0.2.0.1
    , control-bool
    , containers
    , transformers
  default-language: Haskell2010
  ghc-options: -Wall

test-suite test
  hs-source-dirs:
      tests/
  main-is: Main.hs
  other-modules:
      Blocks
      Inline
  type: exitcode-stdio-1.0
  ghc-options: -Wall
  build-depends:
      text
    , commonmark-ast
    , base >=4.7
    , hspec
    , syb
    , QuickCheck
    , deepseq
    , containers
    , commonmark-parser
    , commonmark-testutils
    , cmark
  default-language: Haskell2010

benchmark bench
  type: exitcode-stdio-1.0
  hs-source-dirs:
      bench/
  main-is: Main.hs
  build-depends:
      text
    , commonmark-ast
    , base >=4.7 && <5
    , criterion
    , commonmark-testutils
    , commonmark-parser
    , deepseq
    , file-embed
  default-language: Haskell2010
  ghc-options: -O2