Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/tokio-rs/prost

PROST! a Protocol Buffers implementation for the Rust Language
https://github.com/tokio-rs/prost

prost-derive: infer tag values of hand-written types

60569248f3fd7b24b1054097d4edbd2e082b2c04 authored over 6 years ago by Kevin Stenerson <[email protected]>
prost-derive: compatible with "nightly" proc-macro2 (#89)

proc-macro2 0.3 tries to be compatible with the non-nightly
0.2 versions, even if the nightly f...

7a2a545787e2ea0634de1f9161c1b2425efe1ec4 authored over 6 years ago by Gergely Nagy <[email protected]>
Remove unused failure_derive dependency. (#87)

Remove the indirect and unneeded dependency on failure_derive. In our
prost-based application, ...

3427352e7e750dbc8d8b4be63816b55b0590d8bb authored almost 7 years ago by Brian Smith <[email protected]>
v0.3.2

7f0931e94820302afa939a7f269cede85b991b49 authored almost 7 years ago by Dan Burkert <[email protected]>
Rename readme.txt -> README.md

e9efa9319f00013f18944377ce2689f9c9726884 authored almost 7 years ago by Dan Burkert <[email protected]>
Move third-party/ to prost-build (#85)

This is a followup / fix for e0317f83958892d716e99423f07525db5c7469e6.

While attempting to pu...

e5587d9232a543cc9dea06b972010fe8919ef0ff authored almost 7 years ago by Dan Burkert <[email protected]>
v0.3.1

Signed-off-by: Brian Smith <[email protected]>

357065043498c65afaf9a97ce17deae056a8a3d8 authored almost 7 years ago by Brian Smith <[email protected]>
Fix proto3 fuzz test

ff6900b067f2a0934b4f761ff03c72cd878bac27 authored almost 7 years ago by Dan Burkert <[email protected]>
Embed protobuf tools & includes instead of downloading during the build. (#79)

* Embed protobuf tools & includes instead of downloading during the build.

Implement the prop...

e0317f83958892d716e99423f07525db5c7469e6 authored almost 7 years ago by Brian Smith <[email protected]>
Disable unneeded features of the petgraph library. (#82)

This drops the `ordermap` dependency, for example.

Contributed on behalf of Buoyant, Inc.

...

b3b5065c94d93dd0277e38752dc92fa9e7094be1 authored almost 7 years ago by Brian Smith <[email protected]>
Avoid unnecessary unicode conversion of OUT_DIR. (#83)

It isn't useful to convert the environment variable to Unicode since
`Command` deals with `OsSt...

b3229e8acf155f5df1a88d6b640adfabb1852c0b authored almost 7 years ago by Brian Smith <[email protected]>
Reduce env_logger-related dependencies. (#78)

Use env_logger 0.5 everywhere, instead of a mix of 0.5 and 0.4, to
avoid needing to download an...

d3d05070b45dca898c12e28fc87809c7b93ffa0a authored almost 7 years ago by Brian Smith <[email protected]>
v0.3.0

d3b971ccd90df35d16069753d52289c0c85014e4 authored almost 7 years ago by Dan Burkert <[email protected]>
Fix (some) clippy warnings

fe7647158c96134e5967d96c253ffac5c7f49794 authored almost 7 years ago by Dan Burkert <[email protected]>
prost-build: pass Config, ServiceGenerator by mut ref

Changing ServiceGenerator::{generate, finalize} to take `&mut self` is
motivated by tower-rs/tow...

06946f78d6b26a7616c3c1c2b42afc997e2dbf8e authored almost 7 years ago by Dan Burkert <[email protected]>
syn 0.11 -> 0.12

5b93d0ca7570bb5114798241504f5419e8034cdd authored almost 7 years ago by Dan Burkert <[email protected]>
prost-derive: remove Syn types from scalar::DefaultValue

Also fixes a bug in bytes default values with octal escapes.

4b3487f461bbf212880d57cf4f66635e74238347 authored almost 7 years ago by Dan Burkert <[email protected]>
Bump quickcheck, log, and flate2 versions (#68)

2bcb494654ef1885c13eb234e0e235eae34b7999 authored almost 7 years ago by Dan Burkert <[email protected]>
Add ServiceGenerator::finalize (#65)

* Add ServiceGenerator::finalize

It can be used to output things that need to exist only once...

c2290c07958c3b1c58622fa50c237e302c495123 authored almost 7 years ago by Michal 'vorner' Vaner <[email protected]>
Allow generation of attributes on messages and fields (#63)

* Allow generation of attributes on messages and fields

This allows messages to be for exampl...

644f70fbc6b26a263d1668bf10fb692a5877af5f authored almost 7 years ago by Michal 'vorner' Vaner <[email protected]>
Bump Protobuf to 3.5.1 (#62)

b6f415a6a1b4ff118e11b1d5e77c14c36b3cb504 authored almost 7 years ago by Dan Burkert <[email protected]>
prost-derive: error-chain -> failure

acc8e49aa8aef0cea4efa1255d584089c690219a authored about 7 years ago by Dan Burkert <[email protected]>
Enhance docs for the service generator

The expected usage wasn't clear to me, it is likely it wouldn't be clear
for others.

ee727fb956c3eb108cb339e218926f9bc1af41f6 authored about 7 years ago by Michal 'vorner' Vaner <[email protected]>
Custom Debug impl for Enum values

If messages or oneof types contain an enum (encoded as i32), try to
convert it to the real enum ...

f4cb861dedda74fc48e85baa033aeacba39804c1 authored about 7 years ago by Michal 'vorner' Vaner <[email protected]>
Upgrade itertools to 0.7

That matches the version in prost-derive to not depend on two version of the itertools crate.

a7999cfe6d84fd23f97d2240d7a09d41f823a28e authored about 7 years ago by Fabrice Desré <[email protected]>
v0.2.3

342c90d8fe9774590e1a0d66470743d8153ccbd2 authored about 7 years ago by Dan Burkert <[email protected]>
bump itertools version

ab0cea8687d8477c8c44b7b412ed76d0cb24b04f authored about 7 years ago by Dan Burkert <[email protected]>
Add support for recursive oneof fields

Currently, `oneof`s that reference a parent type result in compile
errors.

By replicating the `...

559e865ed382b0bda11fe1dacc73540d7000ba4c authored about 7 years ago by Oliver Gould <[email protected]>
Add nesting tests

These nesting tests are duplicates of the upstream
test_messages_proto[2,2] tests, however they ...

c3a097f8a48bcd8afcb16dadfc5b1cbf6af91f35 authored about 7 years ago by Dan Burkert <[email protected]>
prost-build: move protoc constants to methods

The constants were causing issues with docs.rs doc generation.
Should fix #28.

4b407c7bd29aa2b9930aadb2bddfc08b58028755 authored about 7 years ago by Dan Burkert <[email protected]>
v0.2.2

fe3793066b1ff55f9942c5e7a66bd41779518afb authored about 7 years ago by Dan Burkert <[email protected]>
prost-build: add rerun-if-env-changed directives

This directs Cargo to discard cache builds if the PROTOC or
PROTOC_INCLUDE environment variables...

4c49fdd7aac83fdd8e448a27726c4822542346fc authored about 7 years ago by Dan Burkert <[email protected]>
v0.2.1

2da698e6e04faafc400b9a45e4a71d33a97df9f7 authored about 7 years ago by Dan Burkert <[email protected]>
prost-derive: bump errorchain version

05f02b9f42640cf3ed52d0e16065624b97c66b07 authored about 7 years ago by Dan Burkert <[email protected]>
Fix nested enum path resolution bug

ee771a2b7568af25054c54d882e993b3ebba3512 authored about 7 years ago by Dan Burkert <[email protected]>
Add missing well-known type

b9db6125db148472aeb6f52b401cb27e38490402 authored about 7 years ago by Dan Burkert <[email protected]>
Simplify derive generated implementations

7b48b229f65032ba57014b912c17cbeea1720dd5 authored over 7 years ago by Dan Burkert <[email protected]>
Bump Protobuf to 3.4

cbe8b4294302ceff18c45efee2c7c985bc8f213b authored over 7 years ago by Dan Burkert <[email protected]>
Add package name to service descriptor

16d551a03a862d78e7bd74cd6e902a448e30dddd authored over 7 years ago by Dan Burkert <[email protected]>
Fix more clippy warnings

ad960325cf1bf401fa05f2270d641d653e591037 authored over 7 years ago by Dan Burkert <[email protected]>
Use slice for repeated encode and encoded_len fns

Fixes a bunch of clippy warnings.

8cd36354f61881c469594eb588bdb7e703c780b4 authored over 7 years ago by Dan Burkert <[email protected]>
Make prost::types module private

4dddb84296a3504ccfd5e4125ff1ef329f94fef6 authored over 7 years ago by Dan Burkert <[email protected]>
Move bootstrap test

Removes a circular prost-build <-> prost-types dependency

5051e660d3ed26ac8228e3f09c02deee40700f50 authored over 7 years ago by Dan Burkert <[email protected]>
v0.2.0

7ea989d41adab8ad2a58fd06c2a59a529694dca7 authored over 7 years ago by Dan Burkert <[email protected]>
Fix clippy warnings

85dbb05a526a48feffb33649918b8745767ad6be authored over 7 years ago by Dan Burkert <[email protected]>
Fix lint warnings

3a8639148217dfbaf785e1ec5e545ea356c9a6f4 authored over 7 years ago by Dan Burkert <[email protected]>
Normalize service identifiers

81064115e77f12185df6ea2b303c85727cd4eebb authored over 7 years ago by Dan Burkert <[email protected]>
fuzz: fix fuzzer, as well as a few bugs introduced since last run

318dfef3fc79c2129548577590b94b804c229ffe authored over 7 years ago by Dan Burkert <[email protected]>
Fix typo in code generator (MethodOption -> MethodOptions)

aba197c453da1c631231c3bcce17f09ce88e4fc7 authored over 7 years ago by Dan Burkert <[email protected]>
Add Comments::append_with_indent

Adds `Comments::append_with_indent` which makes it easy to handle
comments correctly in `Service...

8cb463d248bb537eeda3b888c14b1068711b8bc8 authored over 7 years ago by Dan Burkert <[email protected]>
Improve and document the service generator interface

d7213dd81a9296b57e03f2dfe3e5a6ec373aaa04 authored over 7 years ago by Dan Burkert <[email protected]>
Optional enum fields: tweak accessor method

This changes the generated accessor methods on optional enum fields to
return the default enum v...

877224e6e41acbeb144743669a04b543fc61f411 authored over 7 years ago by Dan Burkert <[email protected]>
Fix some lingering identifier conversion bugs

58ebe2ca7899f6770fe05d8231f549d098b97908 authored over 7 years ago by Dan Burkert <[email protected]>
prost-build: add logging

24f3940320df518c5e0256b6138ba4d60636f6cd authored over 7 years ago by Dan Burkert <[email protected]>
Use heck for ident conversions

This is a breaking change, because heck is aggressive about pruning
prefix and suffix underscore...

c1902708e99e1ba0a1aae00401e32d7f6902869e authored over 7 years ago by Dan Burkert <[email protected]>
Fix some prost-types bugs

This fixes up some issues introduced by 05293211f2cc2df6ef3:

* Use prost-types by default in pr...

f73e0198f76d9ed438277e1072edec6962c21a09 authored over 7 years ago by Dan Burkert <[email protected]>
prost-build: generate fully qualified filenames

Allows two packages with the same terminal name to be mixed in a
project, like 'foo.bar' and 'qu...

19a27b840c647aead3669bdd54f60d253c0f50af authored over 7 years ago by Dan Burkert <[email protected]>
Add Message::clear method

0555c10d3f815b7fcb0150188b72d3015532895b authored over 7 years ago by Dan Burkert <[email protected]>
codegen: preserve default values

fixes danburkert/prost#5

47f244bf2842be93eb84983bb13c17d3f26fd043 authored over 7 years ago by Dan Burkert <[email protected]>
Bump multimap version

f4b83e08a1e2cdf855d478715d67693751ffaf14 authored over 7 years ago by Dan Burkert <[email protected]>
Add well-known types, fold prost-codegen into prost-build

* Folds the prost-codegen crate into prost-build.
* Removes the protoc-gen-prost tool. It wasn't...

05293211f2cc2df6ef384732ab2b1d60d58984c1 authored over 7 years ago by Dan Burkert <[email protected]>
Reenable stable builds on Travis

cea0bf303e118a9e20883c888023bb35b0cdeca0 authored over 7 years ago by Dan Burkert <[email protected]>
Add protobuf crate

The protobuf crate downloads, compiles, and installs the
[C++ Protobuf project][1], including th...

29ce0683a32bae827632714b4cf99ee27efcef77 authored over 7 years ago by Dan Burkert <[email protected]>
Download protoc during prost-build build

This tweaks prost-build to download protoc during its own build, if
necessary, instead of downlo...

2a73dd1d5545689c4f04214ca87c398782f3ca07 authored over 7 years ago by Dan Burkert <[email protected]>
Add proto2 unittest.proto tests

This also sneaks in a couple bug fixes which make this possible:

1) `group` fields are now filt...

a9315d423babb027c609334913f0989ec55e5fdc authored over 7 years ago by Dan Burkert <[email protected]>
Tweak README copy on enums

3da2145b956bcfac59b03850ed64a64b855e3ab5 authored over 7 years ago by Dan Burkert <[email protected]>
Resurrect the packages test

71f6e0481a2e7f42d491354774e8e5b2742db331 authored over 7 years ago by Dan Burkert <[email protected]>
Consolidate integration tests into tests crate

f3c348174c642b01ab825ebaa7c75998567305c8 authored over 7 years ago by Dan Burkert <[email protected]>
Add inline annotations on encoded_len fns

This results in a pretty good improvement in message encoding performance:

name ...

26a685a3e2e73a9ed9abade3314172ce1c511e0b authored over 7 years ago by Dan Burkert <[email protected]>
Add message encoding/decoding benchmarks from cpp protobuf

5b54ce7a699320caeb3042f35f584411367ae7f2 authored over 7 years ago by Dan Burkert <[email protected]>
codegen: default repeated fields to packed when syntax=proto3

58745b92ac2ba56c0ad840f566bf909b0ab0b89b authored over 7 years ago by Dan Burkert <[email protected]>
Move benchmarks to a new workspace crate

bcaf81c6e640eddb7e070c4c75a53d1839f1d0fd authored over 7 years ago by Dan Burkert <[email protected]>
Rename prost_codegen::CodeGeneratorConfig -> prost_codgen::Config

3982951570556b51a4adc7c361e47fa132af9f41 authored over 7 years ago by Dan Burkert <[email protected]>
add encoded_len_varint bench

47d4c0fa282a7fd1802becaac89b41f5243708fb authored over 7 years ago by Dan Burkert <[email protected]>
optimize varint decoding

Copies the varint decoding optimizations from the cpp protobuf
implementation. Performance is si...

a655f2b00c29c7d99f7d5b6414182ebda53c317a authored over 7 years ago by Dan Burkert <[email protected]>
Fix varint benchmarks

6b940e7fddbada303a2294e52e8ef6ff0b28440f authored over 7 years ago by Dan Burkert <[email protected]>
optimize varint encoding

This is a relatively modest change. Turns out removing the assert from the
inner loop still make...

107857f443e4d640f17dd07964108a56af93f725 authored over 7 years ago by Dan Burkert <[email protected]>
optimize varint encoded len calculation

Based on the cpp Protobuf implementation. This is a big win: encoded_len_varint
is now constant ...

8a8c5ddbb646a8c65db0116041710ed695819802 authored over 7 years ago by Dan Burkert <[email protected]>
Remove bytes#138 test workaround

The Cursor type is no longer used in tests.

9bbee41adf5c5a50047a77458d6ebce14f4e1a6d authored over 7 years ago by Dan Burkert <[email protected]>
Rename prost-derive.rs

This follows Cargo conventions. Cargo recently began warning when the
convention is not followed...

6962a3b2536ad9d6fb8ad6d57a6bae8f59c1d193 authored over 7 years ago by Dan Burkert <[email protected]>
Remove inline annotations in derive output

These were added arbitrarily; they can always be added back later if
they are shown to make a di...

1adfdaeb34c64c7ea1a6a3d6f4bad6f293b4e77e authored over 7 years ago by Dan Burkert <[email protected]>
Abstract encoding loop handling

e5e33d3785fdfa28a71325ae7a92a1acdc8e63e2 authored over 7 years ago by Dan Burkert <[email protected]>
Use 'dummy module' instead of 'dummy const' in derive output

The 'dummy const' pattern was copied from SerDe[1], but it causes
rustdoc not to generate docume...

0bdd87889ff7e56bc051d811fc0020c225569f2c authored over 7 years ago by Dan Burkert <[email protected]>
Cleanup allow annotations on derive output

Fixes #19

70355f43d3b4a5aa2556ac08a42f4c0325517691 authored over 7 years ago by Dan Burkert <[email protected]>
Make Message object safe

This is a breaking change.

a7265930ddebb2b983674838d94ad5a51c2382cc authored over 7 years ago by Dan Burkert <[email protected]>
Use IntoBuf for decode buffers in Message API

This makes the API much nicer to work with. See the included fixups
for examples.

This is a bre...

66149950e9ebc093fe43cd0d7b76c7a0debea758 authored over 7 years ago by Dan Burkert <[email protected]>
Remove Take from the Message API

The presence of Take in the public API was an unfortunate leak of an
internal implementation det...

c35d93b3e5ce98f7c02ebcd5a5c1855ddf304213 authored over 7 years ago by Dan Burkert <[email protected]>
Add prost-specific error types

Removes io::Error in favor of prost-specific error types. io::Error is
a bit heavyweight for pr...

e43ac81752e082104566057b19c6f70eb0af1554 authored over 7 years ago by Dan Burkert <[email protected]>
conformance: clean intermediate protobuf build artifacts

e557152a67c6d794878d7615e14694f8d5769f67 authored over 7 years ago by Dan Burkert <[email protected]>
prost-build: use PROTOC and PROTOC_INCLUDE env paths is set

Allows prost-build to be used with a system protoc.

1c12ebec833d2892bccdb65ea9e6bdc0b6188294 authored over 7 years ago by Dan Burkert <[email protected]>
codegen: add config option to generate BTreeMap fields

cb985d8dd518cfac11ebc49601d2eaf3468143a1 authored over 7 years ago by Dan Burkert <[email protected]>
codegen: Add CodeGeneratorConfig option builder

This also expands the prost-build documentation.

17474e8139a4c8630a75930e22dbcfc173afab32 authored over 7 years ago by Dan Burkert <[email protected]>
Use BTreeMap in test-all-types

This allows the rountrip checker to be simplified, and fixes some
remaining bugs around NaN equa...

b35dd5eb2f16c20c00198476e0075f624d8d466b authored over 7 years ago by Dan Burkert <[email protected]>
codegen: reorganize modules

0bac8799d7de8ec07a75e776ee23d1b8579973b5 authored over 7 years ago by Dan Burkert <[email protected]>
derive: add BTreeMap field support

4f30dd77338cfc88f596617aff109f2a286a5817 authored over 7 years ago by Dan Burkert <[email protected]>
encoding: add BTreeMap encoding

3ca626ca1bc30f0c41238f27c4d2d163957fe86c authored over 7 years ago by Dan Burkert <[email protected]>
derive: make proto2 optional field accessor more ergonomic

As suggested by @stepancheg in [1].

This allowed a bunch of the `unwrap()` calls in codegen to ...

072e5dfb146675c41ec8a571fdcc5a08baf90c96 authored over 7 years ago by Dan Burkert <[email protected]>
Remove custom branch of bytes

6091a5c3bd6ac8f9685c5ff309d9e8ba69bf8012 authored over 7 years ago by Dan Burkert <[email protected]>
readme: correct typo

a9cac703061f4a09d2d8db47c530ef3d8366810a authored over 7 years ago by Dan Burkert <[email protected]>
Fix in windows-separate-dir merged into master branch of curl-rust. (#12)

e3a412baab717f10fb9c5f9267c3824f1d1c72e8 authored over 7 years ago by reid <[email protected]>