PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This major update brings new features and fixes:
Breaking changes
derive Copy trait for messages where possible (#950)
prost-build will automatically derive trait Copy for some messages. If you manually implement Copy you should remove your implementation.
Change generated functions signatures to remove type parameters (#1045)
The function signature of trait Message is changed to use impl Buf instead of a named generic type. If you implement trait Message, you should change the function signature.
Lightweight error value in TryFrom for enums (#1010)
When a impl TryFrom<i32> is generated by prost derive macros, it will now return the error type UnknownEnumValue instead of DecodeError. The new error can be used to retreive the integer value that failed to convert.
Features
fix: Only touch include file if contents is changed (#1058)
Most generated files are untouched when the contents doesn't change. Use the same mechanism for include file as well.
Dependencies
update env_logger requirement from 0.10 to 0.11 (#1074)
update criterion requirement from 0.4 to 0.5 (#1071)
PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.
This major update brings new features and fixes:
Breaking changes
derive Copy trait for messages where possible (#950)
prost-build will automatically derive trait Copy for some messages. If you manually implement Copy you should remove your implementation.
Change generated functions signatures to remove type parameters (#1045)
The function signature of trait Message is changed to use impl Buf instead of a named generic type. If you implement trait Message, you should change the function signature.
Lightweight error value in TryFrom for enums (#1010)
When a impl TryFrom<i32> is generated by prost derive macros, it will now return the error type UnknownEnumValue instead of DecodeError. The new error can be used to retreive the integer value that failed to convert.
Features
fix: Only touch include file if contents is changed (#1058)
Most generated files are untouched when the contents doesn't change. Use the same mechanism for include file as well.
Dependencies
update env_logger requirement from 0.10 to 0.11 (#1074)
update criterion requirement from 0.4 to 0.5 (#1071)
This is a new minor release of regex that brings in an update to the
Unicode Character Database. Specifically, this updates the Unicode data
used by regex internally to the version 16 release.
Support serializing maps containing 128-bit integer keys to serde_json::Value (#1188, thanks @Mrreadiness)
1.0.127
Add more removal methods to OccupiedEntry (#1179, thanks @GREsau)
1.0.126
Improve string parsing on targets that use 32-bit pointers but also have fast 64-bit integer arithmetic, such as aarch64-unknown-linux-gnu_ilp32 and x86_64-unknown-linux-gnux32 (#1182, thanks @CryZe)
1.0.125
Speed up \uXXXX parsing and improve handling of unpaired surrogates when deserializing to bytes (#1172, #1175, thanks @purplesyringa)
v1.0.124
Fix a bug in processing string escapes in big-endian architectures (#1173, thanks @purplesyringa)
v1.0.123
Optimize string parsing by applying SIMD-within-a-register: 30.3% improvement on twitter.json from 613 MB/s to 799 MB/s (#1161, thanks @purplesyringa)
Bumps the dev-dependencies group with 14 updates in the / directory:
1.0.86
1.0.89
0.1.81
0.1.83
0.12.6
0.13.0
0.12.6
0.13.0
1.10.5
1.11.0
1.0.204
1.0.210
1.0.120
1.0.128
1.38.0
1.40.0
0.7.11
0.7.12
0.1.15
0.1.16
1.9.1
1.10.0
0.12.0
0.12.3
3.10.1
3.13.0
0.16.1
0.17.1
Updates
anyhow
from 1.0.86 to 1.0.89Release notes
Sourced from anyhow's releases.
Commits
9d3fb6d
Release 1.0.89830c399
Merge pull request #386 from dtolnay/unwindsafe8454be3
Ensure UnwindSafe even with "backtrace" feature enabled and old Rusta85e414
Add more autotraits tests139f266
Release 1.0.88aa3ab2b
Merge pull request #385 from dtolnay/docnostd44c3767
Update documentation on no-std error type conversionsafe93e7
Release 1.0.87d58fa4b
Fix outdated html_root_urlc18d807
Disable unused doc_cfg featureUpdates
async-trait
from 0.1.81 to 0.1.83Release notes
Sourced from async-trait's releases.
Commits
e6b4d47
Release 0.1.83bfe8d61
Merge pull request #278 from dtolnay/arbself7bd974b
Ignore needless_arbitrary_self_type clippy lint in generated codeb53b4e7
Add regression test for issue 277f8e5bb4
Release 0.1.828fbf118
Merge pull request #276 from dtolnay/elidednamed6fa246a
Ignore nightly's new elided_named_lifetimes lint in generated coded542a0d
Upload CI Cargo.lock for reproducing failures8828c35
Sort dependency features in Cargo.tomlba9793a
Update ui test suite to nightly-2024-08-11Updates
prost
from 0.12.6 to 0.13.0Changelog
Sourced from prost's changelog.
Commits
23f7174
chore: Release version 0.13.0 (#1093)7a1424c
build: Fix prepare-release.sh (#1094)7790799
build(deps): update itertools requirement from >=0.10, <=0.12 to >=0.10, <=0....4a0cc17
Add missing LICENSE symlink (#1086)ae33a5e
ci: Set rust version of clippy job to a fixed version (#1090)ba77654
fix: Only touch include file if contents is changed (#1058)e7049d3
workspace package metadata (#1036)ef4930c
docs: Fix broken link warnings (#1056)52ff081
ci: Ensure both README are the same and prost version is correct (#1078)4cbf941
build(deps): Remove unused libz-sys (#1077)Updates
prost-types
from 0.12.6 to 0.13.0Changelog
Sourced from prost-types's changelog.
Commits
23f7174
chore: Release version 0.13.0 (#1093)7a1424c
build: Fix prepare-release.sh (#1094)7790799
build(deps): update itertools requirement from >=0.10, <=0.12 to >=0.10, <=0....4a0cc17
Add missing LICENSE symlink (#1086)ae33a5e
ci: Set rust version of clippy job to a fixed version (#1090)ba77654
fix: Only touch include file if contents is changed (#1058)e7049d3
workspace package metadata (#1036)ef4930c
docs: Fix broken link warnings (#1056)52ff081
ci: Ensure both README are the same and prost version is correct (#1078)4cbf941
build(deps): Remove unused libz-sys (#1077)Updates
regex
from 1.10.5 to 1.11.0Changelog
Sourced from regex's changelog.
Commits
bcbe403
1.11.09e17e56
deps: bump regex-automata58e16f5
regex-automata-0.4.84bb1e3d
deps: bump regex-syntaxcba0fbc
regex-syntax-0.8.51533257
changelog: 1.11.09239e7e
data: update to UCD 167691e49
cli: include \w, \s and \d in Unicode data table generationb790aa5
api: add SetMatches::matched_alld3d3ff7
cli: remove some dead codeUpdates
serde
from 1.0.204 to 1.0.210Release notes
Sourced from serde's releases.
Commits
89c4b02
Release 1.0.210eeb8e44
Merge pull request #2818 from dtolnay/coreerror785c2d9
Stabilize no-std StdError traitd549f04
Reformat parse_ip_impl definition and calls4c0dd63
Delete attr support from core::net deserialization macros26fb134
Relocate cfg attrs out of parse_ip_impl and parse_socket_impl07e614b
Merge pull request #2817 from dtolnay/corenetb1f899f
Delete doc(cfg) attribute from impls that are supported in no-stdb4f860e
Merge pull request #2816 from MathiasKoch/chore/core-netd940fe1
Reuse existing Buf wrapper as replacement for std::io::WriteUpdates
serde_json
from 1.0.120 to 1.0.128Release notes
Sourced from serde_json's releases.
Commits
d96b1d9
Release 1.0.128599228d
Merge pull request #1188 from Mrreadiness/feat/add-hashmap-key-128-serializer5416cee
feat: add support for 128 bit HashMap key serialization27a4ca9
Upload CI Cargo.lock for reproducing failures5ebf65c
Release 1.0.127f287a3b
Merge pull request 1179 from GREsau/patch-1ec980b0
Release 1.0.126e6282b0
Merge pull request #1184 from serde-rs/fastarithmeticffc4a43
Improve cfg names for fast arithmetic4b1048d
Merge pull request #1183 from serde-rs/arithmeticUpdates
tokio
from 1.38.0 to 1.40.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
ea6d652
chore: prepare Tokio v1.40.0 (#6806)11f66f4
chore: replaceready!
withstd::task::ready!
(#6804)479a56a
time: eliminate timer wheel allocations (#6779)b37f0de
runtime: implement initial set of task hooks (#6742)c9fad08
codec: fix typo in the docs forEncoder::Error
(#6800)cc70a21
task: addjoin_all
method toJoinSet
(#6784)1ac8dff
task: addAbortOnDropHandle
type (#6786)ff3f2a8
io: addSimplexStream
(#6589)5b9a290
io: clarify zero remaining capacity case (#6790)70569bd
task: fix typo inTaskTracker
docs (#6792)Updates
tokio-util
from 0.7.11 to 0.7.12Commits
35f244a
chore: prepare tokio-util v0.7.12 (#6823)1166ecc
config: enable full for tokio-util in the playground (#6818)27539ae
runtime: fix race in yield_defers_until_park test (#6809)ea6d652
chore: prepare Tokio v1.40.0 (#6806)11f66f4
chore: replaceready!
withstd::task::ready!
(#6804)479a56a
time: eliminate timer wheel allocations (#6779)b37f0de
runtime: implement initial set of task hooks (#6742)c9fad08
codec: fix typo in the docs forEncoder::Error
(#6800)cc70a21
task: addjoin_all
method toJoinSet
(#6784)1ac8dff
task: addAbortOnDropHandle
type (#6786)Updates
tokio-stream
from 0.1.15 to 0.1.16Commits
4ed0fa2
chore: prepare tokio-stream v0.1.16 (#6825)12b2567
chore: usepoll_fn
from std (#6810)35f244a
chore: prepare tokio-util v0.7.12 (#6823)1166ecc
config: enable full for tokio-util in the playground (#6818)27539ae
runtime: fix race in yield_defers_until_park test (#6809)ea6d652
chore: prepare Tokio v1.40.0 (#6806)11f66f4
chore: replaceready!
withstd::task::ready!
(#6804)479a56a
time: eliminate timer wheel allocations (#6779)b37f0de
runtime: implement initial set of task hooks (#6742)c9fad08
codec: fix typo in the docs forEncoder::Error
(#6800)Updates
uuid
from 1.9.1 to 1.10.0Release notes
Sourced from uuid's releases.
Commits
4b4c590
Merge pull request #766 from uuid-rs/cargo/1.10.068eff32
Merge pull request #765 from uuid-rs/chore/time-fn-deprecations3d5384d
update docs and deprecation messages for timestamp fnsde50f20
renaming rfc4122 functions4a88417
prepare for 1.10.0 release66b4fce
Merge pull request #764 from Vrajs16/main8896e26
Use expr instead of ident09973d6
Added changes6edf3e8
Use const identifer in uuid macroUpdates
tonic-reflection
from 0.12.0 to 0.12.3Release notes
Sourced from tonic-reflection's releases.
Changelog
Sourced from tonic-reflection's changelog.
Commits
4b8d2c4
chore: prepare 0.12.3 release (#1899)517b7fc
Use constants for header names (#1933)3c900eb
Clean up EncodeBody API (#1924)e6782fe
fix: addtower?/util
dep forchannel
feature only builds (#1954)6d93c1d
chore: Make codegen independent from protoc (#1953)f074f13
chore(health): Update generated code (#1951)474390b
fix(tls): do not shutdown server on broken connections (#1948)ec41014
chore: update releasing documentation (#1807)a09d453
optimize header name handling inGrpc::map_response
(#1359)99b663e
chore(test): Move integration test for tonic-web to tests directory (#1927)Updates
tempfile
from 3.10.1 to 3.13.0Changelog
Sourced from tempfile's changelog.
Commits
a354f8c
chore: release 3.13.0d21b602
chore: update depsd6600da
Add forwith_suffix
(#299)19280c5
Document current default permissions for tempdirs (#296)c5eac9f
fix: address clippy unnecessary deref lint in test (#294)5b90d96
chore: release v3.12.06e99572
add keep() function to builder that suppresses delete-on-drop behavior (#293)96f2e7e
build(deps): update windows-sys requirement from 0.52 to 0.59 (#290)ddd633e
build(deps): bump EmbarkStudios/cargo-deny-action from 1 to 2 (#291)3531c11
Release 3.11.0Updates
bollard
from 0.16.1 to 0.17.1Release notes
Sourced from bollard's releases.