mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
f2931a4d32
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5735 Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com> Co-authored-by: Alexis King <759911+lexi-lambda@users.noreply.github.com> Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com> Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com> Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com> Co-authored-by: Lyndon Maydwell <92299+sordina@users.noreply.github.com> Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com> Co-authored-by: Evie Ciobanu <1017953+eviefp@users.noreply.github.com> Co-authored-by: Swann Moreau <62569634+evertedsphere@users.noreply.github.com> Co-authored-by: jkachmar <8461423+jkachmar@users.noreply.github.com> Co-authored-by: Robert <132113+robx@users.noreply.github.com> Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com> Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com> Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com> GitOrigin-RevId: 6a3940b2596fc178379b85d5fa79bd9ac83457e2
121 lines
3.2 KiB
Plaintext
121 lines
3.2 KiB
Plaintext
cabal-version: 3.0
|
|
name: pg-client
|
|
version: 0.1.0
|
|
homepage: https://github.com/hasura/pg-client-hs
|
|
bug-reports: https://github.com/hasura/pg-client-hs/issues
|
|
author: Vamshi Surabhi
|
|
maintainer: vamshi@hasura.io
|
|
copyright: 2017 Hasura Systems Private Limited
|
|
license: Apache-2.0
|
|
license-file: LICENSE
|
|
category: Database
|
|
build-type: Simple
|
|
extra-source-files: README.md
|
|
tested-with: GHC ==8.10.7 || ==9.2.2
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/hasura/pg-client-hs
|
|
|
|
common common-all
|
|
-- This warning strategy was inspired by Max Tagher's 'Enable All the
|
|
-- Warnings' blog post.
|
|
--
|
|
-- NOTE: '-Wno-prepositive-qualified-module' is currently a workaround for
|
|
-- https://github.com/haskell/cabal/pull/7352
|
|
ghc-options:
|
|
-Weverything -Wno-missing-exported-signatures
|
|
-Wno-missing-import-lists -Wno-missing-export-lists
|
|
-Wno-missed-specialisations -Wno-all-missed-specializations
|
|
-Wno-unsafe -Wno-safe -Wno-missing-safe-haskell-mode
|
|
-Wno-missing-local-signatures -Wno-monomorphism-restriction
|
|
-Wno-prepositive-qualified-module -Wno-unrecognised-pragmas
|
|
|
|
default-language: Haskell2010
|
|
default-extensions:
|
|
NoImplicitPrelude
|
|
ImportQualifiedPost
|
|
StandaloneKindSignatures
|
|
|
|
library
|
|
import: common-all
|
|
hs-source-dirs: src
|
|
exposed-modules:
|
|
Control.Concurrent.Interrupt
|
|
Database.PG.Query
|
|
Database.PG.Query.Class
|
|
Database.PG.Query.Connection
|
|
Database.PG.Query.Listen
|
|
Database.PG.Query.Pool
|
|
Database.PG.Query.PTI
|
|
Database.PG.Query.Transaction
|
|
|
|
build-depends:
|
|
, aeson >=1.0
|
|
, aeson-casing >=0.1
|
|
, async >=2
|
|
, attoparsec >=0.13
|
|
, base >=4.7
|
|
, bytestring >=0.10
|
|
, ekg-core >=0.1
|
|
, hashable >=1.2
|
|
, hashtables >=1.2
|
|
, mmorph >=1.1
|
|
, monad-control >=1.0
|
|
, mtl >=2.2
|
|
, postgresql-binary >=0.12
|
|
, postgresql-libpq >=0.9
|
|
, resource-pool >=0.2
|
|
, retry >=0.9
|
|
, safe-exceptions >=0.1
|
|
, scientific >=0.3
|
|
, template-haskell >=2.11
|
|
, text >=1.2
|
|
, text-builder >=0.6
|
|
, time >=1.6
|
|
, transformers >=0.5
|
|
, transformers-base >=0.4
|
|
, uuid >=1.3
|
|
, vector >=0.12
|
|
|
|
test-suite pg-client-test
|
|
import: common-all
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
main-is: Spec.hs
|
|
other-modules:
|
|
Interrupt
|
|
Timeout
|
|
Jsonb
|
|
|
|
build-depends:
|
|
, async
|
|
, base
|
|
, bytestring
|
|
, hspec
|
|
, pg-client
|
|
, safe-exceptions
|
|
, time
|
|
, transformers
|
|
, aeson
|
|
, mtl
|
|
, postgresql-libpq
|
|
|
|
benchmark pg-client-bench
|
|
import: common-all
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: bench
|
|
main-is: Main.hs
|
|
build-depends:
|
|
, base
|
|
, bytestring
|
|
, file-embed
|
|
, hasql
|
|
, hasql-pool
|
|
, hasql-transaction
|
|
, pg-client
|
|
, tasty-bench
|
|
, text
|
|
, transformers
|