packages feed

elasticsearch-interchange-0.1.0.0: elasticsearch-interchange.cabal

cabal-version: 3.0
name: elasticsearch-interchange
version: 0.1.0.0
synopsis: Serialization of Elasticsearch requests and responses
description:
  This library provides data types for communicating with elasticsearch. It
  also includes serialization and deserialization functions for these data
  types. This library does not include machinery for transport. The user is
  responsible for using an http client forming the complete requests
  (e.g. setting the Content-Type header).
bug-reports: https://github.com/layer-3-communications/elasticsearch-interchange
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: amartin@layer3com.com
copyright: 2021 Layer 3 Communications
category: Data
build-type: Simple
extra-source-files:
  CHANGELOG.md
  samples/bulk/request/001/*.json
  samples/bulk/response/001/*.json
  samples/search/response/001/*.json
  samples/cat/aliases/response/001/*.json
  samples/cat/indices/response/001/*.json

library
  hs-source-dirs: src
  default-language: Haskell2010
  ghc-options: -Wall -O2
  exposed-modules:
    Elasticsearch.Bulk.Request
    Elasticsearch.Bulk.Response
    Elasticsearch.Search.Response
    Elasticsearch.Cat.Indices.Response
    Elasticsearch.Cat.Aliases.Response
    Elasticsearch.Aliases.Request
  build-depends:
    , base >=4.13 && <5
    , bytebuild >=0.3.7 && <0.4
    , json-query >=0.2.1 && <0.3
    , json-syntax >=0.2 && <0.3
    , primitive >=0.7.1 && <0.8
    , text-short >=0.1.3 && <0.2
    , unpacked-maybe-text >=0.1 && <0.2

test-suite test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  ghc-options: -Wall -O2
  build-depends:
    , base >=4.11.1 && <5
    , bytebuild
    , byteslice
    , bytestring
    , elasticsearch-interchange
    , json-query
    , json-syntax
    , primitive
    , tasty
    , tasty-golden
    , text-short
    , unpacked-maybe-text
    , pretty-show >=1.10