packages feed

html-entity-map-0.0.1.0: html-entity-map.cabal

name:                 html-entity-map
version:              0.0.1.0
cabal-version:        >= 1.18
tested-with:          GHC==8.0.2
license:              BSD3
license-file:         LICENSE.md
author:               Mark Karpov <markkarpov92@gmail.com>
maintainer:           Mark Karpov <markkarpov92@gmail.com>
homepage:             https://github.com/mrkkrp/html-entity-map
bug-reports:          https://github.com/mrkkrp/html-entity-map/issues
category:             HTML
synopsis:             A mechanically generated map from HTML5 entity names to the corresponding Unicode characters
build-type:           Simple
description:          A mechanically generated map from HTML5 entity names to the corresponding Unicode characters.
extra-doc-files:      CHANGELOG.md
                    , README.md

source-repository head
  type:               git
  location:           https://github.com/mrkkrp/html-entity-map.git

flag dev
  description:        Turn on development settings.
  manual:             True
  default:            False

library
  build-depends:      base             >= 4.5 && < 5.0
                    , text             >= 0.2 && < 1.3
                    , unordered-containers >= 0.2.5 && < 0.3
  exposed-modules:    Data.HTML.Entities
  if flag(dev)
    ghc-options:      -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

benchmark bench
  main-is:            Main.hs
  hs-source-dirs:     bench
  type:               exitcode-stdio-1.0
  build-depends:      base             >= 4.5 && < 5.0
                    , criterion        >= 0.6.2.1 && < 1.3
                    , html-entity-map
                    , text             >= 0.2 && < 1.3
                    , unordered-containers >= 0.2.5 && < 0.3
  if flag(dev)
    ghc-options:      -O2 -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010