This is an automated email from the ASF dual-hosted git repository.
Kriskras99 pushed a change to branch feat/full_enum_support
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
omit faeb5ba fix: Review feedback
omit 3d03097 fix: Enable `rustdoc_internal` feature when `cfg(docsrs)` so
we can use `fake_variadic`
omit e2055f5 fix: Don't call `T::field_default()` if the schema is
overwritten using `#[avro(with)]`
omit 757c25e fix: Add missing license header and set PR number for tests
omit b1db20f feat: Update tests and provide support for old ways of
`BigDecimal` and `[T; N]`
omit a010ca6 feat: Rework `SchemaAwareSerializer` to be more strict and
follow the documented model (no tests)
omit 7b4c2dc feat: Use `SchemaAwareDeserializer` in the readers and add
tests
omit f1462c3 feat: `SchemaAwareDeserializer` (no tests)
omit 226d4c2 doc: Document the mapping between the Serde and Avro data
models
add 6e6da17 chore: Small fixes including one nightly Clippy lint (#513)
add 12e74b4 chore(deps): Bump env_logger from 0.11.9 to 0.11.10 (#515)
add 78cd28e chore(deps): Bump proptest from 1.10.0 to 1.11.0 (#516)
add 48dfe5b chore(deps): Bump uuid from 1.22.0 to 1.23.0 (#521)
add 3628b5f chore(deps): Bump ctor from 0.6.3 to 0.8.0 (#522)
add c0eec3a Pin dtolnay/rust-toolchain to
29eef336d9b2848a0b548edc03f92a220660cdb8 (#526)
add 79cc884 Enable updating PR branches from Github UI (#527)
add 57bae84 chore(deps): Bump sha2 from 0.10.9 to 0.11.0 (#520)
add e27e5ea Do not use Dependabot to update Github Actions (#525)
add e2901d3 chore: Apply some suggestions by -Dclippy::pedantic (#514)
add 016d0f6 feat!: Support enums and tuples in `SchemaAwareSerializer`
and implement `SchemaAwareDeserializer` (#512)
add e67c19d chore(deps): Bump rand from 0.10.0 to 0.10.1 (#535)
add b00cd1a chore(deps): Bump ctor from 0.8.0 to 0.10.0 (#534)
add 5fb7681 chore(deps): Bump uuid from 1.23.0 to 1.23.1 (#537)
add a682d05 chore(deps): Bump ctor from 0.10.0 to 0.10.1 (#538)
add 19e284c chore(deps): Bump ctor from 0.10.1 to 0.11.1 (#539)
add 27af3cf chore(deps): Bump digest from 0.11.2 to 0.11.3 (#540)
add 821f26a Remove CHANGELOG.md (#541)
add f8f87bc Set up default protection ruleset for default and release
branches (#544)
add bf83d63 Deserializer support for BigDecimal when using
apache_avro::serde::bigdecimal (#543)
add fa40e21 chore(deps): Bump serde_json from 1.0.149 to 1.0.150 (#545)
add 4edb1ce chore(deps): Bump log from 0.4.29 to 0.4.30 (#546)
add 19780d6 chore(deps): Bump uuid from 1.23.1 to 1.23.2 (#549)
add 38cb929 chore(deps): Bump log from 0.4.30 to 0.4.31 (#550)
add 7dd1d33 chore(deps): Bump log from 0.4.31 to 0.4.32 (#551)
add 626f22d fix(schema): return Err instead of panicking on invalid
name/alias/type-ref (#547) (#548)
add b900fc5 chore(deps): Bump uuid from 1.23.2 to 1.23.3 (#552)
add 8078c06 chore(deps): Bump bon from 3.9.1 to 3.9.2 (#553)
add bd30bbb chore(deps): Bump bon from 3.9.2 to 3.9.3 (#555)
add 9c6a390 chore(deps): Bump syn from 2.0.117 to 2.0.118 (#556)
add 40390dd perf: Optimize `Alias::new()` and
`Parser::fix_aliases_namespace` (#557)
add cd74a9f feat: Namespace for named types defined by this library (#558)
new 06bfaf4 wip: derive
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 (faeb5ba)
\
N -- N -- N refs/heads/feat/full_enum_support (06bfaf4)
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.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.asf.yaml | 19 +
.github/dependabot.yml | 6 -
.github/workflows/test-lang-rust-ci.yml | 6 +-
.github/workflows/test-lang-rust-clippy.yml | 10 +-
CHANGELOG.md | 166 --------
Cargo.lock | 196 +++++----
Cargo.toml | 16 +-
avro/Cargo.toml | 8 +-
avro/benches/serde.rs | 2 +-
avro/benches/single.rs | 12 +-
.../test_interop_single_object_encoding.rs | 9 +-
avro/src/codec.rs | 22 +-
avro/src/documentation/avro_data_model_to_serde.rs | 12 +-
avro/src/documentation/serde_data_model_to_avro.rs | 22 +-
avro/src/rabin.rs | 5 +-
avro/src/reader/block.rs | 4 +-
avro/src/reader/mod.rs | 3 +
avro/src/reader/single_object.rs | 70 ++--
avro/src/schema/builders.rs | 6 +-
avro/src/schema/mod.rs | 25 +-
avro/src/schema/name.rs | 17 +-
avro/src/schema/parser.rs | 69 ++--
avro/src/schema/record/field.rs | 69 ++--
avro/src/schema/resolve.rs | 4 +-
avro/src/schema/union.rs | 31 +-
avro/src/schema_compatibility.rs | 6 +-
avro/src/schema_equality.rs | 4 +-
avro/src/serde/de.rs | 33 +-
avro/src/serde/derive.rs | 102 ++---
avro/src/serde/deser_schema/array.rs | 102 -----
avro/src/serde/deser_schema/{map.rs => block.rs} | 83 +++-
avro/src/serde/deser_schema/mod.rs | 52 ++-
avro/src/serde/deser_schema/record.rs | 5 +
avro/src/serde/deser_schema/tuple.rs | 16 +-
avro/src/serde/ser_schema/block.rs | 17 +-
avro/src/serde/ser_schema/mod.rs | 41 +-
avro/src/serde/ser_schema/record/field_default.rs | 3 +-
avro/src/serde/ser_schema/tuple.rs | 10 +-
avro/src/serde/ser_schema/union.rs | 52 +--
avro/src/serde/with.rs | 25 +-
avro/src/types.rs | 20 +-
avro/src/writer/datum.rs | 4 +
avro/src/writer/mod.rs | 4 +-
avro/src/writer/single_object.rs | 16 +-
avro/tests/append_to_existing.rs | 4 +-
avro/tests/avro-rs-219.rs | 1 -
avro/tests/avro-rs-226.rs | 7 +-
avro/tests/avro-rs-547.rs | 71 ++++
avro/tests/schema.rs | 18 +-
avro/tests/serde_human_readable_false.rs | 2 +-
avro/tests/serde_human_readable_true.rs | 4 +-
avro_derive/Cargo.toml | 3 +-
avro_derive/build.rs | 2 +-
avro_derive/src/attributes/avro.rs | 135 +++++-
avro_derive/src/attributes/mod.rs | 459 ++++++++++++++++-----
avro_derive/src/attributes/serde.rs | 34 +-
avro_derive/src/case.rs | 8 +-
avro_derive/src/enums/mod.rs | 2 +-
avro_derive/src/enums/plain.rs | 4 +-
avro_derive/src/lib.rs | 228 ++++++----
avro_derive/tests/derive.rs | 60 +--
avro_derive/tests/serde.rs | 20 +-
avro_test_helper/Cargo.toml | 4 +-
avro_test_helper/src/data.rs | 2 +-
avro_test_helper/src/lib.rs | 22 +-
avro_test_helper/src/logger.rs | 85 ++--
66 files changed, 1527 insertions(+), 1052 deletions(-)
delete mode 100644 CHANGELOG.md
delete mode 100644 avro/src/serde/deser_schema/array.rs
rename avro/src/serde/deser_schema/{map.rs => block.rs} (64%)
create mode 100644 avro/tests/avro-rs-547.rs