git.iko.soy/typeable/html-parse
on 1dc4898 help sign in
typeable/html-parse/html-parse.cabal
61 lines 2.2 kB history raw
1name: html-parse
2version: 0.2.0.0
3synopsis: A high-performance HTML tokenizer
4description:
5 This package provides a fast and reasonably robust HTML5 tokenizer built
6 upon the @attoparsec@ library. The parsing strategy is based upon the HTML5
7 parsing specification with few deviations.
8 .
9 The package targets similar use-cases to the venerable @tagsoup@ library,
10 but is significantly more efficient, achieving parsing speeds of over 50
11 megabytes per second on modern hardware with and typical web documents.
12homepage: http://github.com/bgamari/html-parse
13license: BSD3
14license-file: LICENSE
15author: Ben Gamari
16maintainer: ben@smart-cactus.org
17copyright: (c) 2016 Ben Gamari
18category: Text
19build-type: Simple
20cabal-version: >=1.10
21tested-with: GHC==8.0.2, GHC==7.10.3, GHC==7.8.4
24source-repository head
25 type: git
26 location: git://github.com/bgamari/html-parse
28library
29 exposed-modules: Text.HTML.Parser
30 other-extensions: OverloadedStrings, DeriveGeneric
31 build-depends: base >=4.8 && <4.10,
32 deepseq >=1.4 && <1.5,
33 attoparsec >=0.13 && <0.14,
34 text >=1.2 && <1.3
35 default-language: Haskell2010
37benchmark bench
38 type: exitcode-stdio-1.0
39 main-is: Benchmark.hs
40 other-extensions: OverloadedStrings, DeriveGeneric
41 build-depends: base,
42 deepseq,
43 attoparsec,
44 text,
45 tagsoup >= 0.13,
46 criterion >= 1.1
47 default-language: Haskell2010
49test-suite spec
50 type: exitcode-stdio-1.0
51 main-is: Spec.hs
52 hs-source-dirs: tests
53 ghc-options: -Wall -with-rtsopts=-T
54 build-depends: base,
55 hspec,
56 html-parse,
57 QuickCheck,
58 quickcheck-instances,
59 string-conversions,
60 text
61 default-language: Haskell2010