packages feed

fast-tagsoup-1.0.2: fast-tagsoup.cabal

cabal-version:  >= 1.6
name:           fast-tagsoup
version:        1.0.2
copyright:      Vladimir Shabanov 2011-2012
author:         Vladimir Shabanov <vshabanoff@gmail.com>
maintainer:     Vladimir Shabanov <vshabanoff@gmail.com>
homepage:       https://github.com/vshabanov/fast-tagsoup
license:        BSD3
category:       XML
license-file:   LICENSE
build-type:     Simple
synopsis:       Fast parser for tagsoup package
description:
    .
    Fast TagSoup parser. Speeds of 20-200MB/sec were observed.
    .
    Works only with strict bytestrings.
    .
    This library is intended to be used in conjunction with the original @tagsoup@ package:
    .
    > import Text.HTML.TagSoup hiding (parseTags, renderTags)
    > import Text.HTML.TagSoup.Fast
    .
    Besides speed @fast-tagsoup@ correctly handles HTML @\<script\>@ and @\<style\>@ tags, converts tags to lower case and can decode non UTF-8 XML for you.
    .
    This parser is used in production in BazQux Reader feeds and comments crawler.

source-repository head
    type:     git
    location: https://github.com/vshabanov/fast-tagsoup

-- flag encoding
--     default: False
--     description: Build with Encoding module

library
    build-depends: base == 4.*, bytestring, text, text-icu, tagsoup

--     if flag(download)
--         build-depends: network
--         exposed-modules: Text.HTML.Download

    exposed-modules:
        Text.HTML.TagSoup.Fast