File: bytestring-progress.cabal

package info (click to toggle)
haskell-bytestring-progress 1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 80 kB
  • sloc: haskell: 265; makefile: 3
file content (39 lines) | stat: -rw-r--r-- 1,196 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Name: bytestring-progress
Version: 1.4
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.4 && < 0.5,
                   text >= 1.2.3.1 && < 1.3
    Exposed-Modules: System.ProgressBar.ByteString


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