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
60569248f3fd7b24b1054097d4edbd2e082b2c04 authored over 6 years ago by Kevin Stenerson <[email protected]>
proc-macro2 0.3 tries to be compatible with the non-nightly
0.2 versions, even if the nightly f...
Remove the indirect and unneeded dependency on failure_derive. In our
prost-based application, ...
7f0931e94820302afa939a7f269cede85b991b49 authored almost 7 years ago by Dan Burkert <[email protected]>
e9efa9319f00013f18944377ce2689f9c9726884 authored almost 7 years ago by Dan Burkert <[email protected]>
This is a followup / fix for e0317f83958892d716e99423f07525db5c7469e6.
While attempting to pu...
e5587d9232a543cc9dea06b972010fe8919ef0ff authored almost 7 years ago by Dan Burkert <[email protected]>Signed-off-by: Brian Smith <[email protected]>
357065043498c65afaf9a97ce17deae056a8a3d8 authored almost 7 years ago by Brian Smith <[email protected]>ff6900b067f2a0934b4f761ff03c72cd878bac27 authored almost 7 years ago by Dan Burkert <[email protected]>
* Embed protobuf tools & includes instead of downloading during the build.
Implement the prop...
e0317f83958892d716e99423f07525db5c7469e6 authored almost 7 years ago by Brian Smith <[email protected]>This drops the `ordermap` dependency, for example.
Contributed on behalf of Buoyant, Inc.
...
b3b5065c94d93dd0277e38752dc92fa9e7094be1 authored almost 7 years ago by Brian Smith <[email protected]>
It isn't useful to convert the environment variable to Unicode since
`Command` deals with `OsSt...
Use env_logger 0.5 everywhere, instead of a mix of 0.5 and 0.4, to
avoid needing to download an...
d3b971ccd90df35d16069753d52289c0c85014e4 authored almost 7 years ago by Dan Burkert <[email protected]>
fe7647158c96134e5967d96c253ffac5c7f49794 authored almost 7 years ago by Dan Burkert <[email protected]>
Changing ServiceGenerator::{generate, finalize} to take `&mut self` is
motivated by tower-rs/tow...
5b93d0ca7570bb5114798241504f5419e8034cdd authored almost 7 years ago by Dan Burkert <[email protected]>
Also fixes a bug in bytes default values with octal escapes.
4b3487f461bbf212880d57cf4f66635e74238347 authored almost 7 years ago by Dan Burkert <[email protected]>2bcb494654ef1885c13eb234e0e235eae34b7999 authored almost 7 years ago by Dan Burkert <[email protected]>
* 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
This allows messages to be for exampl...
644f70fbc6b26a263d1668bf10fb692a5877af5f authored almost 7 years ago by Michal 'vorner' Vaner <[email protected]>b6f415a6a1b4ff118e11b1d5e77c14c36b3cb504 authored almost 7 years ago by Dan Burkert <[email protected]>
acc8e49aa8aef0cea4efa1255d584089c690219a authored about 7 years ago by Dan Burkert <[email protected]>
The expected usage wasn't clear to me, it is likely it wouldn't be clear
for others.
If messages or oneof types contain an enum (encoded as i32), try to
convert it to the real enum ...
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]>342c90d8fe9774590e1a0d66470743d8153ccbd2 authored about 7 years ago by Dan Burkert <[email protected]>
ab0cea8687d8477c8c44b7b412ed76d0cb24b04f authored about 7 years ago by Dan Burkert <[email protected]>
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]>
These nesting tests are duplicates of the upstream
test_messages_proto[2,2] tests, however they ...
The constants were causing issues with docs.rs doc generation.
Should fix #28.
fe3793066b1ff55f9942c5e7a66bd41779518afb authored about 7 years ago by Dan Burkert <[email protected]>
This directs Cargo to discard cache builds if the PROTOC or
PROTOC_INCLUDE environment variables...
2da698e6e04faafc400b9a45e4a71d33a97df9f7 authored about 7 years ago by Dan Burkert <[email protected]>
05f02b9f42640cf3ed52d0e16065624b97c66b07 authored about 7 years ago by Dan Burkert <[email protected]>
ee771a2b7568af25054c54d882e993b3ebba3512 authored about 7 years ago by Dan Burkert <[email protected]>
b9db6125db148472aeb6f52b401cb27e38490402 authored about 7 years ago by Dan Burkert <[email protected]>
7b48b229f65032ba57014b912c17cbeea1720dd5 authored over 7 years ago by Dan Burkert <[email protected]>
cbe8b4294302ceff18c45efee2c7c985bc8f213b authored over 7 years ago by Dan Burkert <[email protected]>
16d551a03a862d78e7bd74cd6e902a448e30dddd authored over 7 years ago by Dan Burkert <[email protected]>
ad960325cf1bf401fa05f2270d641d653e591037 authored over 7 years ago by Dan Burkert <[email protected]>
Fixes a bunch of clippy warnings.
8cd36354f61881c469594eb588bdb7e703c780b4 authored over 7 years ago by Dan Burkert <[email protected]>4dddb84296a3504ccfd5e4125ff1ef329f94fef6 authored over 7 years ago by Dan Burkert <[email protected]>
Removes a circular prost-build <-> prost-types dependency
5051e660d3ed26ac8228e3f09c02deee40700f50 authored over 7 years ago by Dan Burkert <[email protected]>7ea989d41adab8ad2a58fd06c2a59a529694dca7 authored over 7 years ago by Dan Burkert <[email protected]>
85dbb05a526a48feffb33649918b8745767ad6be authored over 7 years ago by Dan Burkert <[email protected]>
3a8639148217dfbaf785e1ec5e545ea356c9a6f4 authored over 7 years ago by Dan Burkert <[email protected]>
81064115e77f12185df6ea2b303c85727cd4eebb authored over 7 years ago by Dan Burkert <[email protected]>
318dfef3fc79c2129548577590b94b804c229ffe authored over 7 years ago by Dan Burkert <[email protected]>
aba197c453da1c631231c3bcce17f09ce88e4fc7 authored over 7 years ago by Dan Burkert <[email protected]>
Adds `Comments::append_with_indent` which makes it easy to handle
comments correctly in `Service...
d7213dd81a9296b57e03f2dfe3e5a6ec373aaa04 authored over 7 years ago by Dan Burkert <[email protected]>
This changes the generated accessor methods on optional enum fields to
return the default enum v...
58ebe2ca7899f6770fe05d8231f549d098b97908 authored over 7 years ago by Dan Burkert <[email protected]>
24f3940320df518c5e0256b6138ba4d60636f6cd authored over 7 years ago by Dan Burkert <[email protected]>
This is a breaking change, because heck is aggressive about pruning
prefix and suffix underscore...
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]>
Allows two packages with the same terminal name to be mixed in a
project, like 'foo.bar' and 'qu...
0555c10d3f815b7fcb0150188b72d3015532895b authored over 7 years ago by Dan Burkert <[email protected]>
fixes danburkert/prost#5
47f244bf2842be93eb84983bb13c17d3f26fd043 authored over 7 years ago by Dan Burkert <[email protected]>f4b83e08a1e2cdf855d478715d67693751ffaf14 authored over 7 years ago by Dan Burkert <[email protected]>
* Folds the prost-codegen crate into prost-build.
* Removes the protoc-gen-prost tool. It wasn't...
cea0bf303e118a9e20883c888023bb35b0cdeca0 authored over 7 years ago by Dan Burkert <[email protected]>
The protobuf crate downloads, compiles, and installs the
[C++ Protobuf project][1], including th...
This tweaks prost-build to download protoc during its own build, if
necessary, instead of downlo...
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]>3da2145b956bcfac59b03850ed64a64b855e3ab5 authored over 7 years ago by Dan Burkert <[email protected]>
71f6e0481a2e7f42d491354774e8e5b2742db331 authored over 7 years ago by Dan Burkert <[email protected]>
f3c348174c642b01ab825ebaa7c75998567305c8 authored over 7 years ago by Dan Burkert <[email protected]>
This results in a pretty good improvement in message encoding performance:
name ...
26a685a3e2e73a9ed9abade3314172ce1c511e0b authored over 7 years ago by Dan Burkert <[email protected]>5b54ce7a699320caeb3042f35f584411367ae7f2 authored over 7 years ago by Dan Burkert <[email protected]>
58745b92ac2ba56c0ad840f566bf909b0ab0b89b authored over 7 years ago by Dan Burkert <[email protected]>
bcaf81c6e640eddb7e070c4c75a53d1839f1d0fd authored over 7 years ago by Dan Burkert <[email protected]>
3982951570556b51a4adc7c361e47fa132af9f41 authored over 7 years ago by Dan Burkert <[email protected]>
47d4c0fa282a7fd1802becaac89b41f5243708fb authored over 7 years ago by Dan Burkert <[email protected]>
Copies the varint decoding optimizations from the cpp protobuf
implementation. Performance is si...
6b940e7fddbada303a2294e52e8ef6ff0b28440f authored over 7 years ago by Dan Burkert <[email protected]>
This is a relatively modest change. Turns out removing the assert from the
inner loop still make...
Based on the cpp Protobuf implementation. This is a big win: encoded_len_varint
is now constant ...
The Cursor type is no longer used in tests.
9bbee41adf5c5a50047a77458d6ebce14f4e1a6d authored over 7 years ago by Dan Burkert <[email protected]>
This follows Cargo conventions. Cargo recently began warning when the
convention is not followed...
These were added arbitrarily; they can always be added back later if
they are shown to make a di...
e5e33d3785fdfa28a71325ae7a92a1acdc8e63e2 authored over 7 years ago by Dan Burkert <[email protected]>
The 'dummy const' pattern was copied from SerDe[1], but it causes
rustdoc not to generate docume...
Fixes #19
70355f43d3b4a5aa2556ac08a42f4c0325517691 authored over 7 years ago by Dan Burkert <[email protected]>This is a breaking change.
a7265930ddebb2b983674838d94ad5a51c2382cc authored over 7 years ago by Dan Burkert <[email protected]>
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]>
The presence of Take in the public API was an unfortunate leak of an
internal implementation det...
Removes io::Error in favor of prost-specific error types. io::Error is
a bit heavyweight for pr...
e557152a67c6d794878d7615e14694f8d5769f67 authored over 7 years ago by Dan Burkert <[email protected]>
Allows prost-build to be used with a system protoc.
1c12ebec833d2892bccdb65ea9e6bdc0b6188294 authored over 7 years ago by Dan Burkert <[email protected]>cb985d8dd518cfac11ebc49601d2eaf3468143a1 authored over 7 years ago by Dan Burkert <[email protected]>
This also expands the prost-build documentation.
17474e8139a4c8630a75930e22dbcfc173afab32 authored over 7 years ago by Dan Burkert <[email protected]>
This allows the rountrip checker to be simplified, and fixes some
remaining bugs around NaN equa...
0bac8799d7de8ec07a75e776ee23d1b8579973b5 authored over 7 years ago by Dan Burkert <[email protected]>
4f30dd77338cfc88f596617aff109f2a286a5817 authored over 7 years ago by Dan Burkert <[email protected]>
3ca626ca1bc30f0c41238f27c4d2d163957fe86c authored over 7 years ago by Dan Burkert <[email protected]>
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]>6091a5c3bd6ac8f9685c5ff309d9e8ba69bf8012 authored over 7 years ago by Dan Burkert <[email protected]>
a9cac703061f4a09d2d8db47c530ef3d8366810a authored over 7 years ago by Dan Burkert <[email protected]>
e3a412baab717f10fb9c5f9267c3824f1d1c72e8 authored over 7 years ago by reid <[email protected]>