cassava-streams-0.3.0.5: cassava-streams.cabal
cabal-version: 2.2
name: cassava-streams
version: 0.3.0.5
synopsis: io-streams interface for the cassava CSV library.
license: BSD-3-Clause
license-file: LICENSE
author: Peter Jones <pjones@devalot.com>
maintainer: Peter Jones <pjones@devalot.com>
copyright: Copyright (c) 2014-2020 Peter Jones
category: Data, Text, CSV, IO-Streams
build-type: Simple
homepage: https://github.com/pjones/cassava-streams
bug-reports: https://github.com/pjones/cassava-streams/issues
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2
description:
The cassava-streams library glues togeter the cassava CSV library
and the io-streams streaming library.
.
See the "System.IO.Streams.Csv.Tutorial" module for a simple tutorial.
--------------------------------------------------------------------------------
extra-source-files:
README.md
CHANGES.md
test/*.csv
--------------------------------------------------------------------------------
source-repository head
type: git
location: https://github.com/pjones/cassava-streams.git
--------------------------------------------------------------------------------
flag tutorial
description: Build the tutorial binary (useful for profiling).
manual: True
default: False
--------------------------------------------------------------------------------
common dependencies
build-depends:
, base >=4.8 && <5.0
, bytestring >=0.10 && <0.12
, cassava >=0.4 && <0.6
, io-streams >=1.1 && <1.6
, vector >=0.10 && <0.13
--------------------------------------------------------------------------------
library
import: dependencies
exposed-modules:
System.IO.Streams.Csv
System.IO.Streams.Csv.Tutorial
other-modules:
System.IO.Streams.Csv.Decode
System.IO.Streams.Csv.Encode
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -fwarn-incomplete-uni-patterns
build-depends:
--------------------------------------------------------------------------------
executable tutorial
default-language: Haskell2010
hs-source-dirs: bin
main-is: tutorial.hs
ghc-options: -Wall -fwarn-incomplete-uni-patterns -rtsopts
if !flag(tutorial)
buildable: False
else
build-depends:
, base
, cassava-streams
, io-streams
--------------------------------------------------------------------------------
test-suite test
import: dependencies
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: test.hs
ghc-options: -Wall -fwarn-incomplete-uni-patterns
build-depends:
, cassava-streams
, QuickCheck >=2.7 && <3.0
, tasty >=0.8 && <1.5
, tasty-quickcheck >=0.8 && <1.3