Renamed to anmolitor/elm-protoc-types. It is published under that name, and new versions come out there.
Versions published as andreasewering/elm-protoc-types still install under that name. 4 versions of 5 come from the new location (see their notes).
Protobufs Well-Known Types as an Elm Package. Generated via protoc-gen-elm.
** MOVED TO https://package.elm-lang.org/packages/anmolitor/elm-protoc-types/latest/ **
Protocol buffers are a serialization format. The idea is that you write .proto files describing your data structures and then generate source code from them in your favourite languages using the protoc compiler and the respective language plugins.
When you install protoc it automatically includes a directory of proto files containing the so called well-known types.
These are
DescriptorProto, Field, Enum, ...)BoolValue, BytesValue, Int32Value, ...)Timestamp, Duration, Empty, FieldMask)This package was created/is updated by running protoc with the
protoc-gen-elm plugin on the directory included in the protoc installation.
You can do this yourself, but this might be useful if you want to skip this part of your build process.
secs and nanos field whereas Elms time package prefers using the Posix Type, which is a wrapper around a number of milliseconds. This package could provide common conversions.Feel free to open an issue/create a pull request if you have a suggestion or need one of the above ideas implemented.
There are no plans to add .proto generated types other than the well-known types.