Skip to content

Commit

Permalink
[CORE-6093] Satisfy CI by adding bounds
Browse files Browse the repository at this point in the history
Also apply cabal-fmt to our cabal files while we're at it
  • Loading branch information
Raveline committed Apr 4, 2024
1 parent 53b8d49 commit 10a760b
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 99 deletions.
87 changes: 40 additions & 47 deletions tracing-effectful/tracing-effectful.cabal
Original file line number Diff line number Diff line change
@@ -1,54 +1,47 @@
cabal-version: 3.0
name: tracing-effectful

version: 0.1.0.0
license: BSD-3-Clause
license-file: LICENSE
author: Adrien Duclos
maintainer: [email protected]
category: Development
description: Adaptation of the tracing library for the Effectful ecosystem

build-type: Simple
extra-doc-files: CHANGELOG.md

tested-with: GHC == { 8.10.7, 9.0.2, 9.2.8, 9.4.8, 9.6.4, 9.8.2 }
cabal-version: 3.0
name: tracing-effectful
version: 0.1.0.0
license: BSD-3-Clause
license-file: LICENSE
author: Adrien Duclos
maintainer: [email protected]
category: Development
description:
Adaptation of the tracing library for the Effectful ecosystem

build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with:
GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.4 || ==9.8.2

common language
ghc-options: -Wall -Wcompat -Wno-unticked-promoted-constructors

default-language: Haskell2010

default-extensions: DataKinds
FlexibleContexts
KindSignatures
LambdaCase
TypeFamilies
TypeOperators

ghc-options: -Wall -Wcompat -Wno-unticked-promoted-constructors
default-language: Haskell2010
default-extensions:
DataKinds
FlexibleContexts
KindSignatures
LambdaCase
TypeFamilies
TypeOperators

library
import: language

exposed-modules: Effectful.Tracing
import: language
exposed-modules: Effectful.Tracing
build-depends:
, base <5
, effectful-core >=1.0.0.0 && <3.0.0.0
, exceptions >=0.10.5 && <0.11
, tracing >=0.0.7 && <0.1

build-depends: base <5
, effectful-core >=1.0.0.0 && <3.0.0.0
, exceptions
, tracing >= 0.0.7.2

hs-source-dirs: src
hs-source-dirs: src

test-suite tracing-effectful-test
import: language

default-language: Haskell2010

type: exitcode-stdio-1.0

hs-source-dirs: test

main-is: Main.hs

build-depends: base <5
, tracing-effectful
import: language
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
, base <5
, tracing-effectful
103 changes: 51 additions & 52 deletions tracing.cabal
Original file line number Diff line number Diff line change
@@ -1,73 +1,72 @@
cabal-version: 3.0

name: tracing
version: 0.0.7.2
synopsis: Distributed tracing
cabal-version: 3.0
name: tracing
version: 0.0.7.2
synopsis: Distributed tracing
description:
An OpenTracing-compliant, simple, and extensible distributed tracing library.

category: Web
homepage: https://github.com/mtth/tracing
license: BSD-3-Clause
license-file: LICENSE
author: Matthieu Monsch
maintainer: [email protected]
copyright: 2020 Matthieu Monsch

build-type: Simple
category: Web
homepage: https://github.com/mtth/tracing
license: BSD-3-Clause
license-file: LICENSE
author: Matthieu Monsch
maintainer: [email protected]
copyright: 2020 Matthieu Monsch
build-type: Simple
extra-source-files: README.md

tested-with: GHC == { 8.10.7, 9.0.2, 9.2.8, 9.4.8, 9.6.4, 9.8.2 }
tested-with:
GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.4 || ==9.8.2

source-repository head
type: git
type: git
location: https://github.com/scrive/tracing

library
hs-source-dirs: src
hs-source-dirs: src
exposed-modules:
Control.Monad.Trace
, Control.Monad.Trace.Class
, Monitor.Tracing
, Monitor.Tracing.Local
, Monitor.Tracing.Zipkin
other-modules:
Control.Monad.Trace.Internal
Control.Monad.Trace
Control.Monad.Trace.Class
Monitor.Tracing
Monitor.Tracing.Local
Monitor.Tracing.Zipkin

other-modules: Control.Monad.Trace.Internal
build-depends:
aeson >= 2.0
, base >= 4.14 && < 5
, base16-bytestring >= 1.0
, bytestring >= 0.10
, case-insensitive >= 1.2
, containers >= 0.6
, exceptions >= 0.10
, http-client >= 0.5
, lifted-base >= 0.2.3
, monad-control >= 1.0
, mtl >= 2.2
, network >= 2.8
, random >= 1.1
, stm >= 2.5
, text >= 1.2
, time >= 1.8
, transformers >= 0.5
, transformers-base >= 0.4
ghc-options: -Wall
, aeson >=2.2.1 && <2.3
, base16-bytestring >=1.0.2 && <1.1
, bytestring >=0.11.5 && <0.12
, case-insensitive >=1.2.1 && <1.3
, containers >=0.6.7 && <0.7
, exceptions >=0.10.5 && <0.11
, http-client >=0.7.16 && <0.8
, lifted-base >=0.2.3 && <0.3
, monad-control >=1.0.3 && <1.1
, mtl >=2.2.2 && <2.3
, network >=3.1.4 && <3.2
, random >=1.2.1 && <1.3
, stm >=2.5.1 && <2.6
, text >=2.0.2 && <2.1
, time <1.13
, transformers >=0.5.6 && <0.6
, transformers-base >=0.4.6 && <0.5

ghc-options: -Wall
default-language: Haskell2010

test-suite tracing-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
build-depends:
base
, base
, containers
, hspec >=2.6
, lifted-base >= 0.2.3
, monad-control >= 1.0
, hspec >=2.6
, lifted-base >=0.2.3
, monad-control >=1.0
, mtl
, stm
, text
, tracing
ghc-options: -threaded -rtsopts -with-rtsopts=-N4

ghc-options: -threaded -rtsopts -with-rtsopts=-N4
default-language: Haskell2010

0 comments on commit 10a760b

Please sign in to comment.