proto3-suite: A higher-level API to the proto3-wire library

[ apache, codec, library, program ] [ Propose Tags ]

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.

Flags

Manual Flags

NameDescriptionDefault
dhall

Turn on Dhall interpret and inject codegen

Disabled
swagger

Turn on Swagger doc generation.

Enabled
swagger-wrapper-format

Change Swagger schema format for Protobuf wrapper types

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.3.0.0, 0.4.0.0, 0.4.0.2, 0.4.1, 0.4.2, 0.5.0
Change log CHANGELOG.md
Dependencies aeson (>=1.1.1.0 && <2.1), aeson-pretty, attoparsec (>=0.13.0.1), base (>=4.12 && <5.0), base64-bytestring (>=1.0.0.1 && <1.3), binary (>=0.8.3), bytestring (>=0.10.6.0 && <0.11.0), cereal (>=0.5.1 && <0.6), containers (>=0.5 && <0.7), contravariant (>=1.4 && <1.6), deepseq (>=1.4 && <1.5), filepath, foldl, hashable, haskell-src (>=1.0 && <1.1), insert-ordered-containers, lens, mtl (>=2.2 && <2.3), neat-interpolation, optparse-applicative, optparse-generic, parsec (>=3.1.9 && <3.2.0), parsers (>=0.12 && <0.13), pretty (>=1.1 && <1.2), pretty-show (>=1.6.12 && <2.0), proto3-suite, proto3-wire (>=1.2.2 && <1.3), QuickCheck (>=2.10 && <2.15), quickcheck-instances (<0.4), range-set-list (>=0.1.2 && <0.2), safe (>=0.3 && <0.4), semigroups (>=0.18 && <0.20), swagger2 (>=2.1.6 && <2.8), system-filepath, text (>=0.2 && <1.3), time, transformers (>=0.4 && <0.6), turtle (<1.6.0), vector (>=0.11 && <0.13) [details]
License Apache-2.0
Copyright 2017-2020 Awake Security, 2021 Arista Networks
Author Arista Networks <opensource@awakesecurity.com>
Maintainer Arista Networks <opensource@awakesecurity.com>
Revised Revision 2 made by GabrielGonzalez at 2022-06-21T16:52:33Z
Category Codec
Uploaded by GabrielGonzalez at 2022-03-31T23:59:52Z
Distributions NixOS:0.5.0
Executables canonicalize-proto-file, compile-proto-file
Downloads 2894 total (60 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-04-01 [all 1 reports]