This is an automated email from the ASF dual-hosted git repository.
Kriskras99 pushed a change to branch feat/derived_schema_test
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
discard b004614 feat: Derive tests for derived schemas
omit f1ad988 Merge branch 'main' into feat/all_the_enums
omit 6fa9a87 fix: Review feedback
omit 906f8e8 fix: Some small issues and add a lot of tests
omit 739b977 feat: Full enum support
add 3b742b9 chore(ci): Bump actions/setup-java from 5.2.0 to 5.4.0 (#578)
add 08cac64 fix: accept JSON string defaults for decimal fields in union
(#580)
add 7ce2747 chore(ci): Bump github/codeql-action/init from 4.36.2 to
4.36.3 (#584)
add 6cfbeec feat: Full enum support (#569)
add a1fe69f chore(deps): Bump rustversion from 1.0.22 to 1.0.23 (#588)
add 974efd4 Validate negative OCF block size before conversion (#586)
add 661bbd9 fix: bound decompressed size to guard against decompression
bombs (#582)
add a88ad17 fix: bound array/map allocation by decoded element count
(#581)
add 038d8e1 feat: Derive tests for derived schemas
add 0e982c4 fix: documentation
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (b004614)
\
N -- N -- N refs/heads/feat/derived_schema_test (0e982c4)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/codeql-analysis.yml | 4 +-
.github/workflows/test-lang-rust-ci.yml | 2 +-
Cargo.lock | 4 +-
avro/src/codec.rs | 95 +++++++++++++++++++++--------
avro/src/decode.rs | 103 +++++++++++++++++++++++++++++++-
avro/src/error.rs | 26 +++++++-
avro/src/reader/block.rs | 57 ++++++++++++++++--
avro/src/serde/derive.rs | 2 +-
avro/src/types.rs | 85 +++++++++++++++++++++++++-
avro/src/util.rs | 31 +++++++++-
avro/tests/decompression_bomb.rs | 98 ++++++++++++++++++++++++++++++
avro_derive/src/attributes/avro.rs | 2 +-
avro_derive/src/attributes/mod.rs | 19 +++---
avro_derive/src/enums/mod.rs | 10 ++--
avro_derive/tests/derive.rs | 1 -
avro_derive/tests/enum.rs | 12 +---
16 files changed, 483 insertions(+), 68 deletions(-)
create mode 100644 avro/tests/decompression_bomb.rs