cabal-version: 3.0 name: json-spec-elm-servant version: 0.4.0.1 synopsis: Generated elm code for servant APIs. description: Generate Elm encoders, decoders, and API requests for an Servant API, where the shape of the data going over the API is described using `json-spec`. See the `/test/test.hs` and `/test/Api.hs` for an example. homepage: https://github.com/owensmurray/json-spec-elm-servant license: MIT license-file: LICENSE author: Rick Owens maintainer: rick@owensmurray.com copyright: 2022 Rick Owens category: JSON, Elm, Servant, Web build-type: Simple extra-source-files: README.md LICENSE common dependencies build-depends: , base >= 4.19.0.0 && < 4.20 , containers >= 0.6.8 && < 0.7 , elm-syntax >= 0.3.3.0 && < 0.4 , json-spec >= 0.3.0.0 && < 0.4 , servant >= 0.20.1 && < 0.21 , text >= 2.1 && < 2.2 common warnings ghc-options: -Wall -Wmissing-deriving-strategies -Wmissing-export-lists -Wmissing-import-lists -Wredundant-constraints library import: dependencies, warnings exposed-modules: Data.JsonSpec.Elm.Servant -- other-modules: -- other-extensions: hs-source-dirs: src default-language: Haskell2010 ghc-options: -Wunused-packages build-depends: , bound >= 2.0.7 && < 2.1 , http-types >= 0.12.3 && < 0.13 , json-spec-elm >= 0.4.0.0 && < 0.5 , mtl >= 2.3.1 && < 2.4 flag compile-elm description: Set this flag to run the Elm compilation tests, which requires Elm to be installed on the system. default: False test-suite compile-elm import: dependencies, warnings hs-source-dirs: test default-language: Haskell2010 other-modules: Api build-depends: , json-spec-elm-servant , aeson >= 2.2.1.0 && < 2.3 , binary >= 0.8.9.1 && < 0.9 , bytestring >= 0.12.0.2 && < 0.13 , cookie >= 0.4.6 && < 0.5 , directory >= 1.3.8.1 && < 1.4 , hspec >= 2.11.1 && < 2.12 , prettyprinter >= 1.7.1 && < 1.8 , process >= 1.6.18.0 && < 1.7 , time >= 1.12.2 && < 1.13 , unordered-containers >= 0.2.19.1 && < 0.3 , uuid >= 1.3.15 && < 1.4 if flag(compile-elm) main-is: test.hs type: exitcode-stdio-1.0 else main-is: test-pass.hs type: exitcode-stdio-1.0