@hackage / proto3-suite

A higher-level API to the proto3-wire library

Latest0.9.4

About

Metadata

  • Last updated , by rizoid
  • License Apache-2.0
  • Maintained by: Arista Networks <opensource@awakesecurity.com>

  • Lottery factor: 2

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    dhall (off by default)

    Turn on Dhall interpret and inject codegen

    swagger (on by default)

    Turn on Swagger doc generation.

    swagger-wrapper-format (off by default)

    Change Swagger schema format for Protobuf wrapper types

    attoparsec-aeson (on by default)

    Depend upon the Haskell package "attoparsec-aeson".

    development (off by default)

    Enable development-specific options.

Readme

This library provides a higher-level API to the `proto3-wire` library that supports:

  • Type classes for encoding and decoding messages, and instances for all wire formats identified in the specification

  • A higher-level approach to encoding and decoding, based on GHC.Generics

  • A way of creating `.proto` files from Haskell types.

See the `Proto3.Suite.Tutorial` module for more details.