This is an automated email from the ASF dual-hosted git repository.
kriskras99 pushed a change to branch feat/avro_schema_default
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
discard 6a30e66 feat: Allow types to provide default values
omit 6b3f851 fix: Enum and Fixed would put `default` in `custom_attributes`
add 5164912 chore(deps): Bump trybuild from 1.0.115 to 1.0.116 (#461)
add a071068 chore(deps): Bump syn from 2.0.114 to 2.0.115 (#462)
add 2d9b4e6 chore(deps): Bump env_logger from 0.11.8 to 0.11.9 (#463)
add 984cdfb chore(deps): Bump bon from 3.8.2 to 3.9.0 (#464)
add b506c25 chore(deps): Bump uuid from 1.20.0 to 1.21.0 (#465)
add f397e85 chore(deps): Bump syn from 2.0.115 to 2.0.116 (#466)
add af56163 fix!: Enum and Fixed would put `default` in
`custom_attributes` (#460)
add b3937c7 chore(deps): Bump liblzma from 0.4.5 to 0.4.6 (#468)
add a50c8cd feat!: Support `default` field for array and map (#467)
add d57d3d4 feat: Add support for resetting a Writer back by a clearable
buffer (#469)
add f43ca47 feat: Make `Schema::denormalize` public (#470)
add 31b231d feat!: Use `HashSet` instead of `HashMap` for
`AvroSchemaComponent` (#471)
add b179ca6 chore(deps): Bump syn from 2.0.116 to 2.0.117 (#473)
new 13b4e53 feat: Allow types to provide default values
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 (6a30e66)
\
N -- N -- N refs/heads/feat/avro_schema_default (13b4e53)
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:
Cargo.lock | 44 +--
Cargo.toml | 2 +-
avro/Cargo.toml | 4 +-
avro/src/decode.rs | 2 -
avro/src/encode.rs | 1 -
avro/src/error.rs | 21 +-
avro/src/lib.rs | 4 +-
avro/src/schema/mod.rs | 511 ++++++++++++++++++++++++--------
avro/src/schema/parser.rs | 92 +++---
avro/src/schema/record/field.rs | 2 +-
avro/src/schema_compatibility.rs | 2 -
avro/src/schema_equality.rs | 11 -
avro/src/serde/derive.rs | 214 ++++++++-----
avro/src/serde/ser_schema.rs | 10 -
avro/src/serde/with.rs | 53 ++--
avro/src/types.rs | 130 ++++----
avro/src/writer.rs | 129 +++++++-
avro/tests/avro_schema_component.rs | 6 +-
avro/tests/get_record_fields.rs | 8 +-
avro/tests/schema.rs | 2 +-
avro/tests/serde_human_readable_true.rs | 2 +-
avro_derive/Cargo.toml | 4 +-
avro_derive/src/lib.rs | 37 +--
avro_derive/tests/derive.rs | 223 +++++++++++++-
avro_test_helper/Cargo.toml | 2 +-
25 files changed, 1089 insertions(+), 427 deletions(-)