File: http-link-header.cabal

package info (click to toggle)
haskell-http-link-header 1.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 108 kB
  • sloc: haskell: 309; makefile: 3
file content (96 lines) | stat: -rw-r--r-- 2,222 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
cabal-version: 1.12

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

name:           http-link-header
version:        1.2.3
synopsis:       HTTP Link header parser/writer
description:    Library for the HTTP Link header as specified in RFC 5988 "Web Linking"
category:       Web
homepage:       https://codeberg.org/valpackett/http-link-header
bug-reports:    https://codeberg.org/valpackett/http-link-header/issues
author:         Val Packett
maintainer:     val@packett.cool
copyright:      2014-2025 Val Packett <val@packett.cool>
license:        PublicDomain
license-file:   UNLICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://codeberg.org/valpackett/http-link-header.git

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
    , hspec-discover
    , 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