Name: bytestring-progress
Version: 1.2
Build-Type: Simple
Cabal-Version: >= 1.6
License: BSD3
License-File: LICENSE
Author: Adam Wick <awick@uhsure.com>
Maintainer: Adam Wick <awick@uhsure.com>
Homepage: http://github.com/acw/bytestring-progress
Category: Control
Synopsis: A library for tracking the consumption of a lazy ByteString

Description:
  In some cases, it is useful to know how fast a ByteString is being
  consumed. Typically, this could be to report some measure of progress
  to a waiting user, but it could also be to perform some form of testing
  on input / consumption code.

data-files: Example.hs

Flag use-system-progressbar
  Description: Enable integration with the terminal-progress-bar library.
  Default: True

Library
  Build-Depends: base >= 4.0 && < 5.0,
                 time >= 1.1 && < 2.0,
                 bytestring >= 0.9 && < 1.0
  Exposed-Modules: Data.ByteString.Lazy.Progress

  if flag(use-system-progressbar)
    Build-Depends: terminal-progress-bar >= 0.2 && < 0.3
    Exposed-Modules: System.ProgressBar.ByteString


source-repository head
  type: git
  location: http://github.com/acw/bytestring-progress