2017-01-02 03:48:20 +03:00
|
|
|
name: postgres-wire
|
|
|
|
version: 0.1.0.0
|
2017-02-18 19:18:02 +03:00
|
|
|
synopsis: A native Haskell driver for PostgreSQL
|
2017-01-02 03:48:20 +03:00
|
|
|
description: Please see README.md
|
|
|
|
homepage: https://github.com/postgres-haskell/postgres-wire#readme
|
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
2017-02-18 19:18:02 +03:00
|
|
|
author: Vyacheslav Hashov, Anton Gushcha
|
2017-01-02 03:48:20 +03:00
|
|
|
maintainer: vyacheslavhashov@gmail.com
|
|
|
|
copyright: 2017 Vyacheslav Hashov
|
|
|
|
category: Web
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files: README.md
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
library
|
|
|
|
hs-source-dirs: src
|
2017-02-14 18:17:51 +03:00
|
|
|
include-dirs: cbits/include
|
|
|
|
c-sources: cbits/src/pw_utils.c
|
2017-01-28 00:50:38 +03:00
|
|
|
exposed-modules: Database.PostgreSQL.Driver
|
|
|
|
, Database.PostgreSQL.Driver.Connection
|
2017-02-01 06:53:56 +03:00
|
|
|
, Database.PostgreSQL.Driver.RawConnection
|
2017-01-28 00:50:38 +03:00
|
|
|
, Database.PostgreSQL.Driver.Settings
|
|
|
|
, Database.PostgreSQL.Driver.StatementStorage
|
2017-02-01 06:53:56 +03:00
|
|
|
, Database.PostgreSQL.Driver.Error
|
|
|
|
, Database.PostgreSQL.Driver.Query
|
2017-01-23 18:27:46 +03:00
|
|
|
|
2017-01-07 14:30:34 +03:00
|
|
|
, Database.PostgreSQL.Protocol.Types
|
2017-01-13 15:40:12 +03:00
|
|
|
, Database.PostgreSQL.Protocol.Encoders
|
|
|
|
, Database.PostgreSQL.Protocol.Decoders
|
2017-02-25 19:45:12 +03:00
|
|
|
, Database.PostgreSQL.Protocol.Parsers
|
2017-02-16 21:06:20 +03:00
|
|
|
, Database.PostgreSQL.Protocol.ExtractDataRows
|
2017-02-07 14:14:52 +03:00
|
|
|
, Database.PostgreSQL.Protocol.Store.Encode
|
2017-02-07 14:55:51 +03:00
|
|
|
, Database.PostgreSQL.Protocol.Store.Decode
|
2017-02-17 20:50:41 +03:00
|
|
|
, Database.PostgreSQL.Protocol.Codecs.Decoders
|
2017-02-14 20:56:55 +03:00
|
|
|
other-modules: Database.PostgreSQL.Protocol.Utils
|
2017-01-02 03:48:20 +03:00
|
|
|
build-depends: base >= 4.7 && < 5
|
2017-01-07 14:30:34 +03:00
|
|
|
, bytestring
|
|
|
|
, socket
|
|
|
|
, socket-unix
|
|
|
|
, vector
|
2017-02-01 05:42:35 +03:00
|
|
|
, safe
|
2017-01-13 19:38:51 +03:00
|
|
|
, time
|
2017-01-16 20:58:12 +03:00
|
|
|
, hashable
|
|
|
|
, hashtables
|
2017-01-21 20:38:05 +03:00
|
|
|
, unordered-containers
|
2017-01-26 23:15:13 +03:00
|
|
|
, unix
|
2017-02-14 15:27:56 +03:00
|
|
|
, stm
|
2017-01-24 20:56:47 +03:00
|
|
|
, postgresql-binary
|
2017-01-27 00:22:34 +03:00
|
|
|
, tls
|
2017-01-27 21:18:43 +03:00
|
|
|
, cryptonite
|
2017-02-04 07:36:07 +03:00
|
|
|
, store-core
|
2017-01-02 03:48:20 +03:00
|
|
|
default-language: Haskell2010
|
2017-01-21 20:38:05 +03:00
|
|
|
default-extensions:
|
2017-02-04 07:36:07 +03:00
|
|
|
BangPatterns
|
2017-01-21 20:38:05 +03:00
|
|
|
OverloadedStrings
|
|
|
|
GeneralizedNewtypeDeriving
|
2017-02-14 20:56:55 +03:00
|
|
|
cc-options: -O2 -Wall
|
2017-01-02 03:48:20 +03:00
|
|
|
|
2017-01-28 02:12:59 +03:00
|
|
|
test-suite postgres-wire-test-connection
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: tests_connection
|
|
|
|
main-is: test.hs
|
|
|
|
build-depends: base
|
|
|
|
, postgres-wire
|
|
|
|
, tasty
|
|
|
|
, tasty-hunit
|
2017-02-01 04:10:39 +03:00
|
|
|
, bytestring
|
|
|
|
, process
|
2017-01-28 02:12:59 +03:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions:
|
|
|
|
OverloadedStrings
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
|
2017-01-02 03:48:20 +03:00
|
|
|
test-suite postgres-wire-test
|
|
|
|
type: exitcode-stdio-1.0
|
2017-01-28 01:31:06 +03:00
|
|
|
hs-source-dirs: tests
|
|
|
|
main-is: test.hs
|
2017-01-29 01:48:25 +03:00
|
|
|
other-modules: Connection
|
2017-02-13 18:27:50 +03:00
|
|
|
, Driver
|
|
|
|
, Fault
|
2017-01-29 01:48:25 +03:00
|
|
|
, Protocol
|
2017-02-02 00:18:06 +03:00
|
|
|
, Misc
|
2017-01-02 03:48:20 +03:00
|
|
|
build-depends: base
|
|
|
|
, postgres-wire
|
2017-01-29 03:48:14 +03:00
|
|
|
, bytestring
|
2017-01-29 05:21:46 +03:00
|
|
|
, vector
|
2017-01-28 01:31:06 +03:00
|
|
|
, tasty
|
2017-02-10 15:14:21 +03:00
|
|
|
, socket
|
|
|
|
, async
|
2017-01-28 01:31:06 +03:00
|
|
|
, tasty-hunit
|
2017-01-02 03:48:20 +03:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
default-language: Haskell2010
|
2017-01-28 01:31:06 +03:00
|
|
|
default-extensions:
|
|
|
|
OverloadedStrings
|
|
|
|
GeneralizedNewtypeDeriving
|
2017-01-02 03:48:20 +03:00
|
|
|
|
2017-02-04 07:30:54 +03:00
|
|
|
benchmark postgres-wire-bench
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs:
|
|
|
|
bench
|
2017-02-13 19:46:14 +03:00
|
|
|
main-is: Bench.hs
|
|
|
|
other-modules: Encoders
|
2017-02-04 07:30:54 +03:00
|
|
|
build-depends: base
|
|
|
|
, postgres-wire
|
|
|
|
, bytestring
|
|
|
|
, vector
|
|
|
|
, criterion
|
2017-02-13 19:46:14 +03:00
|
|
|
, deepseq
|
2017-02-17 20:50:41 +03:00
|
|
|
, postgresql-libpq
|
2017-02-20 21:41:59 +03:00
|
|
|
, clock
|
2017-02-13 19:46:14 +03:00
|
|
|
ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-s
|
2017-02-04 07:30:54 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions:
|
|
|
|
OverloadedStrings
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
|
2017-01-02 03:48:20 +03:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/postgres-haskell/postgres-wire
|