-
Notifications
You must be signed in to change notification settings - Fork 0
/
servant-hateoas.cabal
73 lines (66 loc) · 3.38 KB
/
servant-hateoas.cabal
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
cabal-version: 3.0
name: servant-hateoas
version: 0.3.4
synopsis: HATEOAS extension for servant
description: Create Resource-Representations for your types and make your API HATEOAS-compliant.
Automatically derive a HATEOAS-API and server-implementation from your API or straight up define a HATEOAS-API yourself.
Currently HAL+JSON is the only supported Content-Type. Work for further is on progress.
For now only basic hypermedia-link derivations such as the self-link are automatically generated.
Expect more sophisticated link-derivation e.g. for paging in the future.
This library is highly experimental and subject to change.
homepage: https://github.com/bruderj15/servant-hateoas
bug-reports: https://github.com/bruderj15/servant-hateoas/issues
license: BSD-3-Clause
license-file: LICENSE
author: Julian Bruder
maintainer: julian.bruder@outlook.com
copyright: © 2024 Julian Bruder
category: Servant, Web, REST, HATEOAS
build-type: Simple
extra-source-files: README.md
extra-doc-files: CHANGELOG.md
tested-with: GHC == 9.4.8
, GHC == 9.6.4
, GHC == 9.8.2
, GHC == 9.10.1
common warnings
ghc-options: -Wall
library
import: warnings
exposed-modules: Servant.Hateoas
, Servant.Hateoas.Resource
, Servant.Hateoas.HasHandler
, Servant.Hateoas.RelationLink
, Servant.Hateoas.ResourceServer
, Servant.Hateoas.Layer
, Servant.Hateoas.Layer.Type
, Servant.Hateoas.Layer.Build
, Servant.Hateoas.Layer.Merge
, Servant.Hateoas.ContentType.HAL
, Servant.Hateoas.Combinator.Title
, Servant.Hateoas.Internal.Sym
, Servant.Hateoas.Internal.Polyvariadic
other-modules: Servant.Hateoas.Example
, Servant.Hateoas.ContentType.Collection
build-depends: base >= 4.17.2 && < 5
, aeson >= 2.2.3 && < 2.3
, text >= 1.2.3.0 && < 2.2
, http-types >= 0.12.2 && < 0.13
, http-media >= 0.8.1 && < 0.9
, network-uri >= 2.6.1.0 && < 2.7
, servant >= 0.20.2 && < 0.21
, servant-server >= 0.20.2 && < 0.21
, singleton-bool >= 0.1.4 && < 0.2
, constrained-some >= 0.1.0 && < 0.2
hs-source-dirs: src
default-language: GHC2021
default-extensions: DataKinds, TypeFamilies
test-suite servant-hateoas-test
import: warnings
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base >= 4.17.2 && < 5
, servant-hateoas