File: http-link-header.cabal

package info (click to toggle)
haskell-http-link-header 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 112 kB
  • sloc: haskell: 309; makefile: 8
file content (95 lines) | stat: -rw-r--r-- 2,247 bytes parent folder | download | duplicates (2)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name:           http-link-header
version:        1.2.1
synopsis:       A parser and writer for the HTTP Link header per RFC 5988
description:    Please see the README on GitHub at <https://github.com/myfreeweb/http-link-header#readme>
category:       Web
homepage:       https://github.com/myfreeweb/http-link-header#readme
bug-reports:    https://github.com/myfreeweb/http-link-header/issues
author:         Greg V
maintainer:     stevenjshuck@gmail.com
copyright:      2014-2021 Greg V <greg@unrelenting.technology>
license:        PublicDomain
license-file:   UNLICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/myfreeweb/http-link-header

library
  exposed-modules:
      Network.HTTP.Link
      Network.HTTP.Link.Parser
      Network.HTTP.Link.Types
      Network.HTTP.Link.Writer
  other-modules:
      Paths_http_link_header
  hs-source-dirs:
      library
  ghc-options: -Wall
  build-depends:
      attoparsec
    , base >=4.3 && <5
    , bytestring
    , errors
    , http-api-data
    , network-uri
    , text
  default-language: Haskell2010

test-suite tests
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Network.HTTP.Link.ParserSpec
      Network.HTTP.Link.WriterSpec
      Network.HTTP.LinkSpec
      Paths_http_link_header
  hs-source-dirs:
      test-suite
  ghc-options: -threaded -Wall
  build-depends:
      QuickCheck
    , attoparsec
    , base >=4.3 && <5
    , bytestring
    , errors
    , hspec
    , hspec-attoparsec
    , http-api-data
    , http-link-header
    , network-uri
    , text
  default-language: Haskell2010

benchmark benchmarks
  type: exitcode-stdio-1.0
  main-is: Bench.hs
  other-modules:
      ParserBench
      WriterBench
      Paths_http_link_header
  hs-source-dirs:
      benchmark
  ghc-options: -threaded -Wall
  build-depends:
      attoparsec
    , base >=4.3 && <5
    , bytestring
    , criterion
    , directory
    , errors
    , http-api-data
    , http-link-header
    , network-uri
    , text
    , transformers
  default-language: Haskell2010