This is an automated email from the ASF dual-hosted git repository.
kriskras99 pushed a change to branch feat/enums
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
discard bd2c7c9 make type_to_* private
discard 58b9af3 naming tuples and arrays sucks
discard 0812b8f docs
discard a52a089 more testing
discard e9c13f2 more stuff
discard 1551ddd wip: Full enum support
add 5506f64 fix: Remove `MapSchema` and `ArraySchema` `default` fields
(#509)
new d34a24a wip: Full enum support
new ce8b273 more stuff
new 51a68c4 more testing
new 6c27a5d docs
new f7f9e12 naming tuples and arrays sucks
new dc9af96 make type_to_* private
new ecdd9aa finished?
new e742a56 start on docs
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 (bd2c7c9)
\
N -- N -- N refs/heads/feat/enums (e742a56)
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 8 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:
avro/src/documentation/serde_datamodel_to_avro.rs | 63 +++
avro/src/schema/builders.rs | 13 +-
avro/src/schema/mod.rs | 348 ++-------------
avro/src/schema/parser.rs | 46 +-
avro/src/serde/derive.rs | 37 +-
avro/src/serde/deser_schema/enums/union.rs | 1 -
avro/src/serde/deser_schema/mod.rs | 1 -
avro/src/serde/deser_schema/record.rs | 3 -
avro/src/serde/ser_schema/mod.rs | 47 +--
avro/src/serde/with.rs | 8 +-
avro/tests/avro-rs-219.rs | 1 -
avro_derive/src/attributes/mod.rs | 68 ++-
avro_derive/src/enums/bare_union.rs | 44 +-
avro_derive/src/enums/mod.rs | 23 +-
avro_derive/src/enums/plain.rs | 12 +-
avro_derive/src/enums/record_internally_tagged.rs | 35 +-
avro_derive/src/enums/record_tag_content.rs | 25 +-
avro_derive/src/enums/union_of_records.rs | 16 +-
avro_derive/src/fields.rs | 129 +++---
avro_derive/src/lib.rs | 122 +++---
avro_derive/src/tuple.rs | 20 +-
avro_derive/src/utils.rs | 91 ++++
avro_derive/tests/derive.rs | 4 +
avro_derive/tests/enum.rs | 465 ++++++++++++++++++++-
.../avro_3709_record_field_attributes.expanded.rs | 4 +-
.../expanded/avro_rs_xxx_bare_union.expanded.rs | 135 ------
.../tests/expanded/avro_rs_xxx_bare_union.rs | 15 +-
.../avro_rs_xxx_internally_tagged.expanded.rs | 207 ++++-----
.../expanded/avro_rs_xxx_internally_tagged.rs | 27 +-
.../expanded/avro_rs_xxx_tag_content.expanded.rs | 340 +++++++++------
.../tests/expanded/avro_rs_xxx_tag_content.rs | 27 +-
.../avro_rs_xxx_union_of_records.expanded.rs | 369 +++++++++-------
.../tests/expanded/avro_rs_xxx_union_of_records.rs | 26 +-
avro_derive/tests/expanded/mod.rs | 4 +-
avro_derive/tests/ui/avro_rs_401_tuple.stderr | 5 -
...rs => avro_rs_xxx_bare_union_struct_variant.rs} | 5 +-
.../avro_rs_xxx_bare_union_struct_variant.stderr | 5 +
...num.rs => avro_rs_xxx_untagged_newtype_docs.rs} | 8 +-
.../ui/avro_rs_xxx_untagged_newtype_docs.stderr | 6 +
39 files changed, 1514 insertions(+), 1291 deletions(-)
create mode 100644 avro/src/documentation/serde_datamodel_to_avro.rs
create mode 100644 avro_derive/src/utils.rs
delete mode 100644 avro_derive/tests/ui/avro_rs_401_tuple.stderr
rename avro_derive/tests/ui/{avro_rs_401_tuple.rs =>
avro_rs_xxx_bare_union_struct_variant.rs} (96%)
create mode 100644
avro_derive/tests/ui/avro_rs_xxx_bare_union_struct_variant.stderr
copy avro_derive/tests/ui/{avro_rs_373_untagged_enum.rs =>
avro_rs_xxx_untagged_newtype_docs.rs} (91%)
create mode 100644
avro_derive/tests/ui/avro_rs_xxx_untagged_newtype_docs.stderr