packages feed

hexpat-0.4: hexpat.cabal

Cabal-Version: >= 1.2
Name: hexpat
Version: 0.4
Synopsis: wrapper for expat, the fast XML parser
Description:
  Expat (<http://expat.sourceforge.net/>) is a stream-oriented XML parser
  written in C.
  .
  This package provides a Haskell binding for Expat, with a choice of tree or
  SAX-style representation, and it includes an XML formatter.  It is extensible
  to any string type, with String, ByteString and Text provided out of the box.
  .
  The emphasis is on speed and simplicity. If you want more complete and powerful
  XML libraries, consider using HaXml or HXT instead.
  .
  Note that hexpat has undergone a major API change since 0.3.x.
  .
  Benchmark results on ghc 6.10.1 against HaXml for parsing a 4K xml file with non-threading runtime:
  HAXML: 2683 us, HEXPAT: low-level parse-no tree: 243 us, lazy-String: 1340 us,
  lazy-Text: 814 us, strict-String: 1194 us, strict-Text: 732 us
  .
  With -threaded:
  HAXML: 2691 us, HEXPAT: low-level parse-no tree: 472 us,
  lazy-String: 1575 us, lazy-Text: 1068 us, strict-String: 1396 us,
  strict-Text: 964 us
Category: XML
License: BSD3
License-File: LICENSE
Author: Stephen Blackheath (blackh), Evan Martin, Matthew Pocock (drdozer)
Maintainer: http://blacksapphire.com/antispam/
Copyright:
  (c) 2009 Stephen Blackheath <http://blacksapphire.com/antispam/>,
  (c) 2008 Evan Martin <martine@danga.com>,
  (c) 2009 Matthew Pocock <matthew.pocock@ncl.ac.uk>
Homepage: http://code.haskell.org/hexpat/
Extra-Source-Files:
  test/tests.hs,
  test/perf.hs,
  test/test.xml,
  test/benchmark.hs,
  test/lazySAX.hs,
  test/lazyTree.hs
Build-Type: Simple
Stability: beta

Library
  Build-Depends:
    base,
    haskell98,
    bytestring,
    mtl >= 1.1.0.0,
    text >= 0.1,
    binary >= 0.4,
    utf8-string >= 0.3.3,
    parallel
  Exposed-Modules:
    Text.XML.Expat.Tree,
    Text.XML.Expat.Format,
    Text.XML.Expat.Qualified,
    Text.XML.Expat.IO
  Extensions: ForeignFunctionInterface
  Extra-Libraries: expat