cabal-version: 1.18
name: htoml-megaparsec
version: 1.1.0.2
license: BSD3
license-file: LICENSE
copyright: (c) 2013-2016 Cies Breijs, 2017-2018 Vanessa McHale
maintainer: Vanessa McHale <vamchale@gmail.com>
author: Cies Breijs, Vanessa McHale
homepage: https://hub.darcs.net/vmchale/htoml-megaparsec
bug-reports: https://hub.darcs.net/vmchale/htoml-megaparsec/issues
synopsis: Parser for TOML files
description:
TOML is an obvious and minimal format for config files.
This package provides a TOML parser
built with the Megaparsec.
category: Data, Text, Configuration, Language, TOML
build-type: Simple
extra-source-files:
test/BurntSushi/fetch-toml-tests.sh
test/BurntSushi/valid/*.toml
test/BurntSushi/valid/*.json
test/BurntSushi/invalid/*.toml
benchmarks/example.toml
benchmarks/repeated.toml
extra-doc-files: README.md
CHANGES.md
source-repository head
type: darcs
location: https://hub.darcs.net/vmchale/htoml-megaparsec
library
exposed-modules:
Text.Toml
Text.Toml.Parser
Text.Toml.Types
Text.Megaparsec.CharRW
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.8 && <5,
containers >=0.5,
megaparsec >=6.0.0,
unordered-containers >=0.2,
vector >=0.10,
text >=1.0 && <2,
mtl >=2.2,
composition-prelude >=0.1.1.0,
deepseq -any,
time >=1.5.0,
old-locale -any
if impl(ghc >=8.0)
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
test-suite htoml-test
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: test
other-modules:
BurntSushi
JSON
Text.Toml.Parser.Spec
Text.TomlSpec
default-language: Haskell2010
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
base -any,
megaparsec -any,
containers -any,
hspec -any,
unordered-containers -any,
vector -any,
aeson -any,
text -any,
time -any,
htoml-megaparsec -any,
bytestring -any,
file-embed -any,
tasty -any,
tasty-hspec -any,
tasty-hunit -any
benchmark benchmarks
type: exitcode-stdio-1.0
main-is: Benchmarks.hs
hs-source-dirs: benchmarks .
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base -any,
htoml-megaparsec -any,
criterion -any,
text -any