packages feed

eventium-sql-common-0.2.1: eventium-sql-common.cabal

cabal-version: 1.12

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

name:           eventium-sql-common
version:        0.2.1
synopsis:       Common library for SQL event stores
description:    Eventium-sql-common provides shared utilities and abstractions for SQL-based event stores.
                It includes Persistent entity definitions, JSON serialization helpers, and common database
                operations used by eventium-postgresql and eventium-sqlite. This package eliminates code
                duplication between different SQL backend implementations and provides a consistent interface
                for SQL-based event sourcing.
category:       Database,Eventsourcing
stability:      experimental
homepage:       https://github.com/aleks-sidorenko/eventium#readme
bug-reports:    https://github.com/aleks-sidorenko/eventium/issues
maintainer:     Alexander Sidorenko
license:        MIT
license-file:   LICENSE.md
build-type:     Simple

source-repository head
  type: git
  location: https://github.com/aleks-sidorenko/eventium

flag ci
  description: Enable -Werror for CI builds
  manual: True
  default: False

library
  exposed-modules:
      Eventium.ProjectionCache.Sql
      Eventium.Store.Sql
      Eventium.Store.Sql.DefaultEntity
      Eventium.Store.Sql.JSONString
      Eventium.Store.Sql.Operations
      Eventium.Store.Sql.Orphans
  other-modules:
      Paths_eventium_sql_common
  hs-source-dirs:
      src
  default-extensions:
      NoFieldSelectors
      DuplicateRecordFields
      OverloadedRecordDot
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wredundant-constraints -Wno-type-defaults -Wno-incomplete-uni-patterns
  build-depends:
      aeson >=1.5 && <2.3
    , base >=4.9 && <5
    , bytestring >=0.10 && <0.13
    , eventium-core >=0.2.0 && <0.3.0
    , mtl >=2.2 && <2.4
    , persistent >=2.14 && <2.18
    , text >=1.2 && <2.2
    , time >=1.9 && <1.14
    , uuid ==1.3.*
  default-language: Haskell2010
  if flag(ci)
    ghc-options: -Werror