packages feed

franz-0.4: franz.cabal

cabal-version:  2.0
version:        0.4
name:           franz
description:    Please see the README on GitHub at <https://github.com/tsurucapital/franz#readme>
homepage:       https://github.com/tsurucapital/franz#readme
bug-reports:    https://github.com/tsurucapital/franz/issues
author:         Fumiaki Kinoshita
maintainer:     fumiexcel@gmail.com
copyright:      Copyright (c) 2021 Fumiaki Kinoshita
license:        BSD3
license-file:   LICENSE
build-type:     Simple
category:       Database
synopsis:       Append-only database
extra-source-files:
    ChangeLog.md
    README.md

source-repository head
  type: git
  location: https://github.com/tsurucapital/franz

library
  exposed-modules:
      Database.Franz.Writer
      Database.Franz.Writer.Simple
      Database.Franz.Internal
      Database.Franz.Contents
      Database.Franz.Reader
      Database.Franz.Server
      Database.Franz.Client
      Database.Franz.Protocol
      Database.Franz.Reconnect
      Database.Franz.URI
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , bytestring
    , cereal
    , containers
    , concurrent-resource-map ^>=0.2
    , cpu
    , deepseq
    , directory
    , exceptions
    , fast-builder ^>= 0.1.2.0
    , filepath
    , fsnotify
    , hashable
    , mtl
    , network
    , process
    , retry
    , sendfile
    , stm
    , stm-delay
    , text
    , temporary
    , transformers
    , unboxed-ref
    , vector
    , unordered-containers
  default-language: Haskell2010
  ghc-options: -Wall -Wcompat

executable franz
  main-is: client.hs
  hs-source-dirs:
      app
  build-depends:
      base >=4.7 && <5
    , bytestring
    , franz
    , network
    , stm
    , vector
    , optparse-applicative
  default-language: Haskell2010
  ghc-options: -threaded -Wall

executable franzd
  main-is: server.hs
  hs-source-dirs:
      app
  ghc-options: -threaded -O2 -Wall
  build-depends:
      base >=4.7 && <5
    , franz
    , network
    , optparse-applicative
  default-language: Haskell2010