lsp-client-0.3.0.0: lsp-client.cabal
cabal-version: 3.0
name: lsp-client
version: 0.3.0.0
synopsis: Haskell library for Language Server Protocol clients
homepage: https://github.com/ners/lsp-client/blob/master/README.md
license: Apache-2.0
license-file: LICENCE.md
author: ners
maintainer: ners@gmx.ch
bug-reports: https://github.com/ners/lsp-client/issues
category: System
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
tested-with: GHC == { 9.2, 9.4, 9.6 }
source-repository head
type: git
location: https://github.com/ners/lsp-client
common common
default-language: GHC2021
ghc-options:
-Weverything
-Wno-unsafe
-Wno-missing-safe-haskell-mode
-Wno-missing-export-lists
-Wno-missing-import-lists
-Wno-missing-kind-signatures
-Wno-all-missed-specialisations
default-extensions:
ApplicativeDo
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveGeneric
DerivingStrategies
DerivingVia
ExplicitNamespaces
NoImplicitPrelude
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
RecordWildCards
RecursiveDo
TypeFamilies
ViewPatterns
build-depends:
aeson >= 2 && < 3,
base >= 4.16 && < 5,
bytestring >= 0.9 && < 0.13,
lens >= 5 && < 6,
lsp-types >= 2 && < 3,
unliftio >= 0.2 && < 0.3,
row-types,
library
import: common
hs-source-dirs: src
build-depends:
Diff,
Glob,
aeson-pretty,
co-log-core,
containers,
data-default,
dependent-map,
directory,
extra,
filepath,
generic-lens,
lsp >= 2.4,
mtl,
stm,
text,
text-rope,
unordered-containers,
unix-compat >= 0.7.1 && < 0.8,
exposed-modules:
Control.Concurrent.STM.TVar.Extra,
Language.LSP.Client,
Language.LSP.Client.Decoding,
Language.LSP.Client.Encoding,
Language.LSP.Client.Exceptions,
Language.LSP.Client.Session,
test-suite spec
import: common
ghc-options: -threaded
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
QuickCheck,
extra,
hspec,
lsp-client,
process,
other-modules:
Language.LSP.ClientSpec,