sq-0.0.1: sq.cabal
cabal-version: 2.4
name: sq
version: 0.0.1
license: Apache-2.0
license-file: LICENSE
extra-source-files: README.md CHANGELOG.md
author: Renzo Carbonara
maintainer: renλren.zone
copyright: Renzo Carbonara, 2023
category: Databases
build-type: Simple
synopsis: High-level SQLite client.
description: High-level SQLite client.
homepage: https://github.com/k0001/hs-sq
bug-reports: https://github.com/k0001/hs-sq/issues
tested-with: GHC == 9.8.1
common basic
default-language: GHC2021
ghc-options: -O2 -Wall
build-depends:
base == 4.*,
default-extensions:
BlockArguments
DataKinds
DeriveAnyClass
DerivingStrategies
DerivingVia
DuplicateRecordFields
LambdaCase
ImplicitParams
OverloadedRecordDot
OverloadedStrings
RecordWildCards
TypeFamilies
ViewPatterns
library
import: basic
hs-source-dirs: lib
exposed-modules:
Sq
other-modules:
Sq.Connection
Sq.Decoders
Sq.Encoders
Sq.Input
Sq.Mode
Sq.Names
Sq.Null
Sq.Output
Sq.Pool
Sq.Statement
Sq.Support
Sq.Transactional
build-depends:
aeson,
async,
attoparsec,
binary,
bytestring,
clock,
containers,
contravariant,
deepseq,
di-df1,
di-core,
direct-sqlite,
directory,
exceptions,
filepath,
foldl,
profunctors,
ref-tf,
resource-pool,
resourcet,
resourcet-extra,
safe-exceptions,
stm,
streaming,
template-haskell,
text,
time,
transformers,
test-suite test
import: basic
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
ghc-options: -O2 -Wall -threaded -rtsopts -with-rtsopts=-N
other-modules:
Sq.Test
Sq.Test.Codec
build-depends:
aeson,
async,
binary,
bytestring,
di,
di-core,
df1,
hedgehog,
ref-tf,
resourcet,
resourcet-extra,
safe-exceptions,
sq,
tasty,
tasty-hedgehog,
tasty-hunit,
text,
time,
benchmark bench
import: basic
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
ghc-options: -O2 -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
async,
async-pool,
containers,
criterion,
df1,
di,
di-core,
resourcet,
resourcet-extra,
safe-exceptions,
sq,
stm,