packages feed

bolty-0.2.0.0: bolty.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.39.1.
--
-- see: https://github.com/sol/hpack

name:           bolty
version:        0.2.0.0
synopsis:       Haskell driver for Neo4j (BOLT protocol 4.4-5.4)
description:    Native Haskell driver for Neo4j graph database using the BOLT protocol.
                Supports BOLT versions 4.4 through 5.4 with connection pooling,
                routing, transactions, retry logic, and streaming results.
category:       Database
homepage:       https://github.com/philippedev101/bolty#readme
bug-reports:    https://github.com/philippedev101/bolty/issues
author:         philippedev101
maintainer:     philippedev101@gmail.com
copyright:      (c) 2023-2026 philippedev101
license:        Apache-2.0
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.6.7 || == 9.8.4 || == 9.10.3 || == 9.12.3
extra-source-files:
    readme.md
    changelog.md

source-repository head
  type: git
  location: https://github.com/philippedev101/bolty

flag dev
  description: Turn on -Werror and other developer flags
  manual: True
  default: False

library
  exposed-modules:
      Database.Bolty
      Database.Bolty.AccessMode
      Database.Bolty.Decode
      Database.Bolty.Pool
      Database.Bolty.Record
      Database.Bolty.ResultSet
      Database.Bolty.Routing
      Database.Bolty.Session
      Database.Bolty.Logging
      Database.Bolty.Notification
      Database.Bolty.Admin
      Database.Bolty.Plan
      Database.Bolty.Stats
      Database.Bolty.Connection
      Database.Bolty.Connection.Config
      Database.Bolty.Connection.Connection
      Database.Bolty.Connection.Instances
      Database.Bolty.Connection.Pipe
      Database.Bolty.Connection.Server
      Database.Bolty.Connection.Type
      Database.Bolty.Connection.Version
      Database.Bolty.Message.Request
      Database.Bolty.Message.Response
      Database.Bolty.Util
      Database.Bolty.Value.Helpers
      Database.Bolty.Value.Type
  other-modules:
      Paths_bolty
  hs-source-dirs:
      src
  default-extensions:
      DataKinds
      DefaultSignatures
      DeriveAnyClass
      DerivingVia
      DuplicateRecordFields
      FunctionalDependencies
      GADTs
      LambdaCase
      MultiWayIf
      OverloadedRecordDot
      OverloadedStrings
      PartialTypeSignatures
      RecordWildCards
      RoleAnnotations
      TypeFamilies
      UnboxedSums
      UnboxedTuples
      UnliftedDatatypes
      UnliftedNewtypes
      ViewPatterns
  ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude -Wno-missed-specialisations -Wno-missing-import-lists -Wno-missing-safe-haskell-mode -Wno-name-shadowing -Wno-prepositive-qualified-module -Wno-safe -Wno-unsafe
  build-depends:
      aeson >=2.1 && <2.3
    , base >=4.18 && <5
    , base64-bytestring >=1.0 && <1.3
    , bytestring >=0.11 && <0.13
    , crypton-connection >=0.3 && <0.5
    , data-default >=0.7 && <0.9
    , extra >=1.7 && <1.9
    , mtl >=2.2 && <2.4
    , network >=3.1 && <3.3
    , packstream-bolt ==0.1.*
    , persist ==1.0.*
    , resource-pool ==0.4.*
    , scientific ==0.3.*
    , split ==0.2.*
    , text >=2.0 && <2.2
    , text-show >=3.10 && <3.12
    , time >=1.11 && <1.15
    , unordered-containers ==0.2.*
    , uuid-types ==1.0.*
    , validation-selective ==0.2.*
    , vector ==0.13.*
    , word8 ==0.1.*
  default-language: GHC2021
  if flag(dev)
    ghc-options: -Werror

test-suite bolty-integration
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Paths_bolty
  hs-source-dirs:
      integration
  default-extensions:
      DataKinds
      DefaultSignatures
      DeriveAnyClass
      DerivingVia
      DuplicateRecordFields
      FunctionalDependencies
      GADTs
      LambdaCase
      MultiWayIf
      OverloadedRecordDot
      OverloadedStrings
      PartialTypeSignatures
      RecordWildCards
      RoleAnnotations
      TypeFamilies
      UnboxedSums
      UnboxedTuples
      UnliftedDatatypes
      UnliftedNewtypes
      ViewPatterns
  ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude -Wno-missed-specialisations -Wno-missing-import-lists -Wno-missing-safe-haskell-mode -Wno-name-shadowing -Wno-prepositive-qualified-module -Wno-safe -Wno-unsafe -threaded -rtsopts -with-rtsopts=-N -Wno-missing-export-lists -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-unused-imports -Wno-unused-packages
  build-depends:
      base >=4.18 && <5
    , bolty
    , bytestring >=0.11 && <0.13
    , crypton-connection >=0.3 && <0.5
    , data-default >=0.7 && <0.9
    , extra >=1.7 && <1.9
    , mtl >=2.2 && <2.4
    , network >=3.1 && <3.3
    , packstream-bolt
    , persist ==1.0.*
    , sandwich
    , split ==0.2.*
    , text >=2.0 && <2.2
    , text-show >=3.10 && <3.12
    , unordered-containers
    , validation-selective ==0.2.*
    , vector
    , word8 ==0.1.*
  default-language: GHC2021
  if flag(dev)
    ghc-options: -Werror

test-suite bolty-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Paths_bolty
  hs-source-dirs:
      test
  default-extensions:
      DataKinds
      DefaultSignatures
      DeriveAnyClass
      DerivingVia
      DuplicateRecordFields
      FunctionalDependencies
      GADTs
      LambdaCase
      MultiWayIf
      OverloadedRecordDot
      OverloadedStrings
      PartialTypeSignatures
      RecordWildCards
      RoleAnnotations
      TypeFamilies
      UnboxedSums
      UnboxedTuples
      UnliftedDatatypes
      UnliftedNewtypes
      ViewPatterns
  ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude -Wno-missed-specialisations -Wno-missing-import-lists -Wno-missing-safe-haskell-mode -Wno-name-shadowing -Wno-prepositive-qualified-module -Wno-safe -Wno-unsafe -threaded -rtsopts -with-rtsopts=-N -Wno-missing-export-lists -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-unused-imports -Wno-unused-packages
  build-depends:
      QuickCheck
    , aeson
    , base >=4.18 && <5
    , bolty
    , bytestring
    , crypton-connection >=0.3 && <0.5
    , data-default >=0.7 && <0.9
    , extra >=1.7 && <1.9
    , mtl >=2.2 && <2.4
    , network >=3.1 && <3.3
    , packstream-bolt
    , persist ==1.0.*
    , sandwich
    , split ==0.2.*
    , text >=2.0 && <2.2
    , text-show >=3.10 && <3.12
    , unordered-containers
    , validation-selective ==0.2.*
    , vector
    , word8 ==0.1.*
  default-language: GHC2021
  if flag(dev)
    ghc-options: -Werror