cabal-version: >= 1.10
name:
zenacy-html
version:
2.0.0
synopsis:
A standard compliant HTML parsing library
description:
Zenacy HTML is an HTML parsing and processing library that implements the
WHATWG HTML parsing standard. The standard is described as a state machine
that this library implements exactly as spelled out including all the error
handling, recovery, and conformance checks that makes it robust in handling
any HTML pulled from the web. In addition to parsing, the library provides
many processing features to help extract information from web pages or
rewrite them and render the modified results.
homepage:
https://github.com/mlcfp/zenacy-html
license:
MIT
license-file:
LICENSE
author:
Michael Williams
maintainer:
Michael Williams
copyright:
Copyright (C) 2015-2020 Michael P Williams
category:
Web
build-type:
Simple
extra-source-files:
README.md CHANGES.md
source-repository head
type: git
location: https://github.com/mlcfp/zenacy-html.git
library
hs-source-dirs:
src
exposed-modules:
Zenacy.HTML
, Zenacy.HTML.Internal.BS
, Zenacy.HTML.Internal.Buffer
, Zenacy.HTML.Internal.Char
, Zenacy.HTML.Internal.Core
, Zenacy.HTML.Internal.DOM
, Zenacy.HTML.Internal.Entity
, Zenacy.HTML.Internal.Filter
, Zenacy.HTML.Internal.HTML
, Zenacy.HTML.Internal.Image
, Zenacy.HTML.Internal.Lexer
, Zenacy.HTML.Internal.Oper
, Zenacy.HTML.Internal.Parser
, Zenacy.HTML.Internal.Query
, Zenacy.HTML.Internal.Render
, Zenacy.HTML.Internal.Token
, Zenacy.HTML.Internal.Trie
, Zenacy.HTML.Internal.Types
, Zenacy.HTML.Internal.Zip
build-depends:
base == 4.*,
bytestring >= 0.10.6.0 && < 0.11,
containers >= 0.5.7.1 && < 0.7,
data-default >= 0.7.1.1 && < 0.8,
dlist >= 0.8 && < 0.9,
extra >= 1.4 && < 1.8,
mtl >= 2.1 && < 2.3,
pretty-show >= 1.6 && < 1.11,
safe >= 0.3.14 && < 0.4,
safe-exceptions >= 0.1.5.0 && < 0.2,
text >= 1.2.2.0 && < 1.3,
transformers >= 0.5.2 && < 0.6,
vector >= 0.11 && < 0.13,
word8 >= 0.1.2 && < 0.2
ghc-options:
-O3 -Wall
-Wno-name-shadowing
-Wno-unused-matches
-Wno-unused-local-binds
-Wno-unused-imports
-Wno-unused-top-binds
-Wno-incomplete-patterns
default-extensions:
default-language:
Haskell2010
executable zenacy-html-exe
hs-source-dirs:
app
main-is:
Main.hs
other-modules:
ghc-options:
-O3 -Wall
-Wno-name-shadowing
-Wno-unused-matches
-Wno-unused-local-binds
-Wno-unused-imports
-Wno-unused-top-binds
-Wno-incomplete-patterns
-threaded -rtsopts -with-rtsopts=-N
build-depends:
base == 4.*
, bytestring
, containers
, data-default
, dlist
, extra
, pretty-show
, text
, vector
, zenacy-html
default-extensions:
default-language:
Haskell2010
test-suite zenacy-html-test
type:
exitcode-stdio-1.0
hs-source-dirs:
test
main-is:
TestSuite.hs
build-depends:
base == 4.*
, bytestring
, containers
, data-default
, dlist
, extra
, HUnit
, mtl
, pretty-show
, raw-strings-qq
, test-framework
, test-framework-hunit
, text
, transformers
, zenacy-html
default-extensions:
ghc-options:
-O3 -threaded -rtsopts -with-rtsopts=-N
default-language:
Haskell2010
other-modules:
Zenacy.HTML.Internal.Buffer.Tests
, Zenacy.HTML.Internal.Entity.Tests
, Zenacy.HTML.Internal.HTML.Tests
, Zenacy.HTML.Internal.Image.Tests
, Zenacy.HTML.Internal.Lexer.Tests
, Zenacy.HTML.Internal.Oper.Tests
, Zenacy.HTML.Internal.Parser.Tests
, Zenacy.HTML.Internal.Query.Tests
, Zenacy.HTML.Internal.Token.Tests
, Zenacy.HTML.Internal.Trie.Tests
, Zenacy.HTML.Internal.Zip.Tests
, Samples
benchmark zenacy-html-bench
type:
exitcode-stdio-1.0
hs-source-dirs:
bench
main-is:
BenchMain.hs
build-depends:
base == 4.*
, bytestring
, containers
, data-default
, dlist
, criterion
, pretty-show
, raw-strings-qq
, text
, zenacy-html
default-extensions:
ghc-options:
-O3 -threaded -rtsopts -with-rtsopts=-N
default-language:
Haskell2010
other-modules: