packages feed

tds-0.1.0.0: tds.cabal

name:                tds
version:             0.1.0.0
synopsis:            Pure Haskell TDS protocol implementation. Mainly for beam-mssql and beam-sybase
description:
  This is a work in progress! Please report bugs on github

  Low-level Haskell TDS implementation
homepage:            https://github.com/tathougies/beam-tds#readme
license:             MIT
license-file:        LICENSE
author:              Travis Athougies
maintainer:          travis@athougies.net
copyright:           Copyright (C) 2018 Travis Athougies
category:            Database
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  exposed-modules:     Database.TDS
                       Database.TDS.Types
                       Database.TDS.Connection
                       Database.TDS.Login
                       Database.TDS.Query

                       Database.TDS.Proto
                       Database.TDS.Proto.Errors

  build-depends:       base                 >=4.7  && < 5,
                       bytestring           >=0.10 && <0.11,
                       mtl                  >=2.2  && <2.3,
                       text                 >=1.2  && <1.3,
                       stm                  >=2.0  && <2.6,
                       transformers         >=0.5  && <0.6,
                       network              >=2.8  && <2.9,
                       tardis               >=0.4  && <0.5,
                       unix                 >=2.7  && <2.8,
                       streaming            >=0.2  && <0.3,
                       streaming-attoparsec >=1.0  && <1.1,
                       streaming-bytestring >=0.1  && <0.2,
                       attoparsec           >=0.13 && <0.14,
                       attoparsec-binary    >=0.2  && <0.3,
                       hostname             >=1.0  && <1.1,
                       vector               >=0.11 && <0.13
  default-language:    Haskell2010
  ghc-options:         -O2

executable test
  build-depends:       base >=4.7 && <5,
                       tds
  hs-source-dirs:      src
  main-is:             Test.hs
  default-language:    Haskell2010
  ghc-options:         -O2 -Wall
  if flag(werror)
    ghc-options:       -Werror

source-repository head
  type:     git
  location: https://github.com/tathougies/tds

flag werror
  description: Enable -Werror during development
  default:     False
  manual:      True