cabal-version: 2.4
name: hasql-interpolate
version: 0.1.0.2
author: Travis Staton <hello@travisstaton.com>
category: Hasql, Database, PostgreSQL
copyright: 2021, Travis Staton
extra-source-files: CHANGELOG.md
homepage: https://github.com/awkward-squad/hasql-interpolate
license-file: LICENSE
license: BSD-3-Clause
tested-with: GHC == 8.10.7, GHC == 9.0.1
maintainer: Travis Staton <hello@travisstaton.com>, Mitchell Rosen
synopsis: QuasiQuoter that supports expression interpolation for hasql
description:
@hasql-interpolate@ provides a sql QuasiQuoter for hasql that
supports interpolation of haskell expressions and splicing of sql
snippets. A number of type classes are also provided to reduce
encoder/decoder boilerplate.
library
exposed-modules: Hasql.Interpolate
Hasql.Interpolate.Internal.TH
other-modules: Hasql.Interpolate.Internal.Json
Hasql.Interpolate.Internal.Encoder
Hasql.Interpolate.Internal.Decoder
Hasql.Interpolate.Internal.OneColumn
Hasql.Interpolate.Internal.OneRow
Hasql.Interpolate.Internal.RowsAffected
Hasql.Interpolate.Internal.Decoder.TH
Hasql.Interpolate.Internal.Sql
Hasql.Interpolate.Internal.CompositeValue
Hasql.Interpolate.Internal.EncodeRow
Hasql.Interpolate.Internal.EncodeRow.TH
build-depends: base >= 4.14 && < 5
, hasql ^>= 1.4 || ^>= 1.5
, haskell-src-meta ^>= 0.8
, template-haskell >= 2.14
, megaparsec >= 8.0.0
, text
, time
, uuid
, scientific
, aeson
, transformers
, mtl
, vector
, containers
, bytestring
, array
hs-source-dirs: lib
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-O2
test-suite unit
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends: base
, hasql
, hasql-interpolate
, template-haskell
, tasty
, text
, tasty-hunit
, tmp-postgres
hs-source-dirs: test
default-language: Haskell2010