File: fast-logger.cabal

package info (click to toggle)
haskell-fast-logger 3.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 168 kB
  • sloc: haskell: 898; makefile: 3
file content (80 lines) | stat: -rw-r--r-- 2,150 bytes parent folder | download
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
cabal-version:      >=1.10
name:               fast-logger
version:            3.2.4
license:            BSD3
license-file:       LICENSE
maintainer:         Kazu Yamamoto <kazu@iij.ad.jp>
author:             Kazu Yamamoto <kazu@iij.ad.jp>
tested-with:
    ghc ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.3

homepage:           https://github.com/kazu-yamamoto/logger
synopsis:           A fast logging system
description:        A fast logging system for Haskell
category:           System
build-type:         Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
    type:     git
    location: https://github.com/kazu-yamamoto/logger.git

library
    exposed-modules:
        System.Log.FastLogger
        System.Log.FastLogger.Date
        System.Log.FastLogger.File
        System.Log.FastLogger.Internal
        System.Log.FastLogger.LoggerSet
        System.Log.FastLogger.Types

    other-modules:
        System.Log.FastLogger.Imports
        System.Log.FastLogger.FileIO
        System.Log.FastLogger.IO
        System.Log.FastLogger.LogStr
        System.Log.FastLogger.MultiLogger
        System.Log.FastLogger.SingleLogger
        System.Log.FastLogger.Write

    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base >=4.9 && <5,
        array,
        auto-update >=0.1.2,
        easy-file >=0.2,
        bytestring >=0.10.4,
        directory,
        filepath,
        stm,
        text,
        unix-time >=0.4.4,
        unix-compat >=0.2

    if impl(ghc <7.8)
        build-depends: bytestring-builder

    if impl(ghc >=8)
        default-extensions: Strict StrictData

test-suite spec
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    build-tools:      hspec-discover >=2.6
    hs-source-dirs:   test
    other-modules:    FastLoggerSpec
    default-language: Haskell2010
    ghc-options:      -Wall -threaded
    build-depends:
        base >=4 && <5,
        async,
        bytestring >=0.10.4,
        directory,
        fast-logger,
        hspec

    if impl(ghc >=8)
        default-extensions: Strict StrictData