A simple XML parser and renderer with support for streaming

root / xml-pardner.cabal

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name:                xml-pardner
version:             0.0.1
synopsis:
  A simple XML parser and renderer with support for streaming.
description:
  This is an XML parser and renderer with support for basic streaming.
  .
  Beside being able to specify parsers and renderers, xml-pardner also
  allows the simultaneous definition of XML parsers and renderers
  using the same code. This simplifies your code and ensures that
  parsing and rendering always are in sync.
author:              Robert Helgesson <robert@rycee.net>
maintainer:          Robert Helgesson <robert@rycee.net>
homepage:            http://hub.darcs.net/rycee/xml-pardner/
bug-reports:         http://hub.darcs.net/rycee/xml-pardner/issues
license:             Apache-2.0
license-file:        LICENSE
copyright:           Copyright 2013 Robert Helgesson
category:            Text
stability:           experimental
build-type:          Simple
cabal-version:       >= 1.8

source-repository head
  type:              darcs
  location:          http://hub.darcs.net/rycee/xml-pardner/

library
  exposed-modules:   Text.XML.Pardner
                   , Text.XML.Pardner.XSD
                   , Text.XML.Pardner.TH
                   , Text.XML.Pardner.Parser
                   , Text.XML.Pardner.Parser.XSD
                   , Text.XML.Pardner.Render
                   , Text.XML.Pardner.Render.XSD
  ghc-options:       -Wall
  build-depends:     base >= 4.5 && < 5
                   , data-default >= 0.4
                   , transformers >= 0.3
                   , containers >= 0.4
                   , text >= 0.11
                   , time >= 1.2.0.3
                   , void >= 0.5
                   , conduit == 1.0.*
                   , attoparsec-conduit == 1.0.*
                   , xml-conduit == 1.1.*
                   , xsd == 0.4.*
                   , xml-types == 0.3.*
                   , contravariant >= 0.2 && < 0.5
                   , dlist == 0.5.*
                   , template-haskell

test-suite test
  type:              exitcode-stdio-1.0
  main-is:           main.hs
  other-modules:     Parser, Render, Pardner
  hs-source-dirs:    . test
  ghc-options:       -rtsopts -Wall
  build-depends:     base
                   , bytestring
                   , hspec
                   , QuickCheck == 2.*
                   , quickcheck-instances
                   , xml-conduit
                   , xml-types
                   , void
                   , time
                   , text
                   , data-default
                   , conduit
                   , xsd
                   , attoparsec-conduit
                   , contravariant
                   , dlist
                   , transformers
                   , template-haskell

test-suite doctests
  type:              exitcode-stdio-1.0
  main-is:           doctests.hs
  ghc-options:       -Wall -threaded -rtsopts
  hs-source-dirs:    test
  build-depends:     base, doctest