cabal-version: 3.0 name: servant-hateoas version: 0.3.0 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.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-media >= 0.8.1 && < 0.9 , 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