packages feed

monad-effect-logging-0.3.0.0: monad-effect-logging.cabal

cabal-version:      2.4
-- Initial package description 'monad-effect-logger' generated by
-- 'cabal init'. For further documentation, see:
--   http://haskell.org/cabal/users-guide/
--
-- The name of the package.
name:               monad-effect-logging

-- PVP summary:     +-+------- breaking API changes
--                  | | +----- non-breaking API additions
--                  | | | +--- code changes with no API change
version:            0.3.0.0

-- A short (one-line) description of the package.
synopsis: A flexible logging system utilizing the `monad-effect` effect system.

-- A longer description of the package.
description: A flexible logging system utilizing the `monad-effect` effect system, it gives you very fine control over the logging behavior, including custom categories, separation of log generation and rendering, pure logging effect, compatibility with monad-logger, trace-id support, etc.

-- The license under which the package is released.
license:            BSD-3-Clause

-- The file containing the license text.
license-file:       LICENSE

-- The package author(s).
author:             Eiko

-- An email address to which users can send suggestions, bug reports, and patches.
maintainer:         eikochanowo@outlook.com

-- A copyright notice.
-- copyright:
category:           Control
build-type:         Simple

-- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
extra-doc-files: CHANGELOG.md
               , README.md

-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
-- extra-source-files:

source-repository head
  type: git
  location: https://github.com/Eiko-Tokura/monad-effect-logging.git

common warnings
    ghc-options: -Wall

library
    -- Import common warning flags.
    import:           warnings

    -- Modules exported by the library.
    exposed-modules: Module.Logging
                   , Module.Logging.Logger
                   , Module.Logging.TraceId
    ghc-options: -fexpose-all-unfoldings

    -- Modules included in this library but not exported.
    other-modules: Module.Logging.TraceId.XorShiftRNG
    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:

    -- Other library packages from which modules are imported.
    build-depends: base >= 4 && < 5
                 , aeson < 2.3
                 , bytestring < 0.13
                 , fast-logger >= 3 && < 3.3
                 , lens < 5.4
                 , monad-effect >= 0.2.1 && < 0.3
                 , monad-logger >= 0.3 && < 0.4
                 , stm >= 2.5 && < 2.6
                 , text < 2.2
                 , time < 1.15
                 , template-haskell >= 2.20 && < 2.24
                 , primitive < 0.10
                 , clock < 0.9
                 , optparse-applicative < 0.20

    -- Directories containing source files.
    hs-source-dirs:   src

    -- Base language which the package is written in.
    default-language: GHC2021

    default-extensions: OverloadedStrings
                      , DerivingStrategies
                      , DerivingVia
                      , DataKinds
                      , GADTs
                      , LambdaCase
                      , TypeFamilies
                      , TypeApplications
                      , TypeAbstractions