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
large-records

Generate records with smaller core code size using the large-records library

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

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, 0.5.1, 0.6.0, 0.7.0
Change log CHANGELOG.md
Dependencies aeson (>=1.1.1.0 && <2.2), 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.12.0), cereal (>=0.5.1 && <0.6), containers (>=0.5 && <0.7), contravariant (>=1.4 && <1.6), deepseq (>=1.4 && <1.5), dhall (>=1.34 && <1.43), filepath, foldl, hashable, haskell-src (>=1.0 && <1.1), insert-ordered-containers, large-generics, large-records, 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.5), QuickCheck (>=2.10 && <2.15), quickcheck-instances (>=0.3.26 && <0.4), range-set-list (>=0.1.2 && <0.2), safe (>=0.3 && <0.4), semigroups (>=0.18 && <0.20), split, swagger2 (>=2.1.6 && <2.9), system-filepath, text (>=0.2 && <2.1), text-short (>=0.1.3 && <0.2), time, transformers (>=0.4 && <0.6), turtle (<1.6.0 || >=1.6.1 && <1.7.0), vector (>=0.11 && <0.13) [details]
License Apache-2.0
Copyright 2017-2020 Awake Security, 2021-2022 Arista Networks
Author Arista Networks <opensource@awakesecurity.com>
Maintainer Arista Networks <opensource@awakesecurity.com>
Category Codec
Source repo head: git clone https://github.com/awakesecurity/proto3-suite
Uploaded by rizoid at 2024-02-20T17:47:50Z
Distributions NixOS:0.7.0
Reverse Dependencies 1 direct, 0 indirect [details]
Executables canonicalize-proto-file, compile-proto-file
Downloads 3777 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2024-02-20 [all 1 reports]