]> Git — Sourcephile - haskell/symantic-xml.git/blob - symantic-xml.cabal
cabal: add a warning
[haskell/symantic-xml.git] / symantic-xml.cabal
1 name: symantic-xml
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 1.0.0.20190223
6 category: Data Structures
7 synopsis: Library for reading, validating and writing a subset of the XML format.
8 description: Symantics for an approximative implementation
9 of XML (eXtensible Markup Language) and RNC (RelaxNG Compact).
10 .
11 Motivation: Other Haskell libraries do not fit my needs or are too heavy/complex.
12 I like the principle to parse XML using some symantics,
13 which can both generate a Megaparsec parser to validate the XML tree,
14 and a RNC rendition of the schema it validates.
15 .
16 DISCLAMER: My life being's too short, I'm NOT burning my brain
17 on seriously conforming to the too complex XML and RNC formats.
18 Still I try to respect a vague subset of those,
19 unless it makes the code more complex than I am comfortable with.
20 .
21 WARNING: It's currently using an old symantic approach,
22 not the one developped in <https://hackage.haskell.org/package/symantic-http symantic-http>.
23 This may change when I'll get to it.
24 extra-doc-files:
25 license: GPL-3
26 license-file: COPYING
27 stability: experimental
28 author: Julien Moutinho <julm+symantic-xml@autogeree.net>
29 maintainer: Julien Moutinho <julm+symantic-xml@autogeree.net>
30 bug-reports: Julien Moutinho <julm+symantic-xml@autogeree.net>
31 -- homepage:
32
33 build-type: Simple
34 cabal-version: 1.24
35 tested-with: GHC==8.4.4
36 extra-source-files:
37 stack.yaml
38 extra-tmp-files:
39
40 Source-Repository head
41 location: git://git.autogeree.net/symantic-xml
42 type: git
43
44 Library
45 exposed-modules:
46 Symantic.RNC
47 Symantic.RNC.Sym
48 Symantic.RNC.Validate
49 Symantic.RNC.Write
50 Symantic.RNC.Write.Fixity
51 Symantic.RNC.Write.Namespaces
52 Symantic.XML
53 Symantic.XML.Document
54 Symantic.XML.Read
55 Symantic.XML.Read.Parser
56 Symantic.XML.Write
57 default-language: Haskell2010
58 default-extensions:
59 FlexibleContexts
60 FlexibleInstances
61 LambdaCase
62 MultiParamTypeClasses
63 NamedFieldPuns
64 NoImplicitPrelude
65 RecordWildCards
66 ScopedTypeVariables
67 TupleSections
68 -- TypeFamilies
69 ghc-options:
70 -Wall
71 -Wincomplete-uni-patterns
72 -Wincomplete-record-updates
73 -fno-warn-tabs
74 -- -fhide-source-paths
75 build-depends:
76 base >= 4.10 && < 5
77 , bytestring >= 0.10
78 , containers >= 0.5
79 , data-default-class >= 0.1
80 , filepath >= 1.4
81 , hashable >= 1.2.6
82 , hxt-charproperties >= 9.2
83 , megaparsec >= 7.0.4
84 -- , parser-combinators >= 1.0
85 , safe >= 0.3
86 , text >= 1.2
87 , transformers >= 0.5
88 , treeseq >= 1.0
89 , unordered-containers >= 0.2.8
90
91 Test-Suite symantic-xml-test
92 type: exitcode-stdio-1.0
93 hs-source-dirs: test
94 main-is: Main.hs
95 other-modules:
96 RNC.Parser
97 RNC.Commoning
98 Golden
99 -- HUnit
100 -- QuickCheck
101 default-language: Haskell2010
102 default-extensions:
103 LambdaCase
104 NamedFieldPuns
105 NoImplicitPrelude
106 RecordWildCards
107 ViewPatterns
108 ghc-options:
109 -Wall
110 -Wincomplete-uni-patterns
111 -Wincomplete-record-updates
112 -fno-warn-tabs
113 -fhide-source-paths
114 build-depends:
115 symantic-xml
116 , base >= 4.10 && < 5
117 , bytestring >= 0.10
118 , containers >= 0.5
119 , data-default-class >= 0.1
120 , deepseq >= 1.4
121 , filepath >= 1.4
122 , hashable >= 1.2.6
123 , megaparsec >= 7.0.4
124 , tasty >= 0.11
125 , tasty-golden >= 2.3
126 , text >= 1.2
127 , transformers >= 0.4
128 , treeseq >= 1.0
129 -- , QuickCheck >= 2.0
130 -- , tasty-hunit
131 -- , tasty-quickcheck