This is an automated email from the ASF dual-hosted git repository.
kriskras99 pushed a change to branch feat/serde_transparent
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
omit fd5eac7 feat(derive): refactor code
omit caeac48 fix(derive): UI test updates to new error string
omit 81e103d fix(derive): Improve type handling for `serde(transparent)`
omit 728310d feat(derive): Support `#[serde(transparent)]`
add 31a36a2 chore(deps): Bump wasm-bindgen-test from 0.3.56 to 0.3.58
(#404)
add ac79ec6 fix(derive): do not match type by name (#401)
add 283c4b1 feat(derive): allow overriding the schema for a field and
change the schema for `uuid::Uuid` (#397)
add 10fafe4 First step to start extracting parts of schema.rs into
smaller files (#405)
add d2c3328 feat(derive): Support `#[serde(transparent)]`
add bb0f5ab feat(derive): Support `with` and `skip` for
`#[serde(transparent)]`
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 (fd5eac7)
\
N -- N -- N refs/heads/feat/serde_transparent (bb0f5ab)
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:
Cargo.lock | 92 +++++--
Cargo.toml | 3 +-
avro/Cargo.toml | 2 +-
avro/src/bytes.rs | 123 ++++++++-
avro/src/{schema.rs => schema/mod.rs} | 175 ++++++++++--
avro_derive/Cargo.toml | 1 +
avro_derive/src/attributes/avro.rs | 27 ++
avro_derive/src/attributes/mod.rs | 61 ++++-
avro_derive/src/attributes/serde.rs | 3 +-
avro_derive/src/lib.rs | 237 ++++++++--------
avro_derive/tests/derive.rs | 299 ++++++++++++++++++++-
avro_derive/tests/serde.rs | 70 +++++
.../tests/ui/avro_rs_373_rename_all_fields.stderr | 2 +-
...e.rs => avro_rs_397_with_closure_parameters.rs} | 4 +-
.../ui/avro_rs_397_with_closure_parameters.stderr | 14 +
...d_rename.rs => avro_rs_397_with_expr_string.rs} | 2 +-
.../tests/ui/avro_rs_397_with_expr_string.stderr | 6 +
...rename_all.rs => avro_rs_397_with_expr_type.rs} | 4 +-
.../tests/ui/avro_rs_397_with_expr_type.stderr | 8 +
...p.rs => avro_rs_397_with_word_without_serde.rs} | 2 +-
.../ui/avro_rs_397_with_word_without_serde.stderr | 6 +
.../tests/ui/avro_rs_398_transparent.stderr | 4 +-
...sparent.rs => avro_rs_398_transparent_skips.rs} | 10 +-
.../tests/ui/avro_rs_398_transparent_skips.stderr | 11 +
.../ui/{avro_rs_373_skip.rs => avro_rs_401_ptr.rs} | 4 +-
avro_derive/tests/ui/avro_rs_401_ptr.stderr | 5 +
.../{avro_rs_373_skip.rs => avro_rs_401_tuple.rs} | 4 +-
avro_derive/tests/ui/avro_rs_401_tuple.stderr | 5 +
...skip.rs => avro_rs_401_unknown_type_variant.rs} | 4 +-
.../ui/avro_rs_401_unknown_type_variant.stderr | 5 +
wasm-demo/Cargo.toml | 2 +-
31 files changed, 993 insertions(+), 202 deletions(-)
rename avro/src/{schema.rs => schema/mod.rs} (98%)
copy avro_derive/tests/ui/{avro_rs_373_field_rename.rs =>
avro_rs_397_with_closure_parameters.rs} (88%)
create mode 100644
avro_derive/tests/ui/avro_rs_397_with_closure_parameters.stderr
copy avro_derive/tests/ui/{avro_rs_373_field_rename.rs =>
avro_rs_397_with_expr_string.rs} (96%)
create mode 100644 avro_derive/tests/ui/avro_rs_397_with_expr_string.stderr
copy avro_derive/tests/ui/{avro_rs_373_rename_all.rs =>
avro_rs_397_with_expr_type.rs} (92%)
create mode 100644 avro_derive/tests/ui/avro_rs_397_with_expr_type.stderr
copy avro_derive/tests/ui/{avro_rs_373_skip.rs =>
avro_rs_397_with_word_without_serde.rs} (98%)
create mode 100644
avro_derive/tests/ui/avro_rs_397_with_word_without_serde.stderr
copy avro_derive/tests/ui/{avro_rs_398_transparent.rs =>
avro_rs_398_transparent_skips.rs} (92%)
create mode 100644 avro_derive/tests/ui/avro_rs_398_transparent_skips.stderr
copy avro_derive/tests/ui/{avro_rs_373_skip.rs => avro_rs_401_ptr.rs} (95%)
create mode 100644 avro_derive/tests/ui/avro_rs_401_ptr.stderr
copy avro_derive/tests/ui/{avro_rs_373_skip.rs => avro_rs_401_tuple.rs} (95%)
create mode 100644 avro_derive/tests/ui/avro_rs_401_tuple.stderr
copy avro_derive/tests/ui/{avro_rs_373_skip.rs =>
avro_rs_401_unknown_type_variant.rs} (95%)
create mode 100644 avro_derive/tests/ui/avro_rs_401_unknown_type_variant.stderr