packages feed

html-charset-0.1.1: html-charset.cabal

cabal-version: 1.12

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

name:           html-charset
version:        0.1.1
synopsis:       Determine character encoding of HTML documents/fragments
description:    Please see the README.md on GitHub at <https://github.com/dahlia/html-charset#readme>.
category:       Web
homepage:       https://github.com/dahlia/html-charset#readme
bug-reports:    https://github.com/dahlia/html-charset/issues
author:         Hong Minhee <hong@minhee.org>
maintainer:     Hong Minhee <hong@minhee.org>
copyright:      © 2018–2022 Hong Minhee
license:        LGPL-2.1
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    CHANGES.md
    README.md

source-repository head
  type: git
  location: https://github.com/dahlia/html-charset

library
  exposed-modules:
      Text.Html.Encoding.Detection
  other-modules:
      Paths_html_charset
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -fprint-explicit-kinds
  build-depends:
      attoparsec >=0.12 && <1
    , base >=4.7 && <5
    , bytestring
    , charsetdetect-ae >=1.1 && <2
  default-language: Haskell2010

executable html-charset
  main-is: Main.hs
  other-modules:
      Paths_html_charset
  hs-source-dirs:
      app
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -fprint-explicit-kinds -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , bytestring
    , html-charset
    , optparse-applicative >=0.14 && <1
  default-language: Haskell2010

test-suite doctest
  type: exitcode-stdio-1.0
  main-is: doctest.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -fprint-explicit-kinds -threaded
  build-depends:
      QuickCheck
    , base >=4.7 && <5
    , bytestring
    , doctest
    , doctest-discover
    , html-charset
  default-language: Haskell2010

test-suite hlint
  type: exitcode-stdio-1.0
  main-is: hlint.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -fprint-explicit-kinds -threaded
  build-depends:
      base >=4.7 && <5
    , bytestring
    , hlint >=2.1.7
  default-language: Haskell2010