-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* port crate * namespace port * dev depends * resolved against main * Cons list tests * rebased onto master resolution * namespace attribute in derive * std pointers * References, testing, and refactoring * [AVRO-3479] Clean up for PR * AVRO-3479: Add missing ASL2 headers Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Minor improvements Add TODOs Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * Schema assertions and PR comments * test failure fixing * add readme * README + implementation guide + bug fix with enclosing namespaces * AVRO-3479: Minor improvements Fix typos. Format the code/doc. Apply suggestions by the IDE to use assert_eq!() instead of assert!() Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Fix typos Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Use darling crate to parse derive attributes Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * darling for NamedTypes and fields * AVRO-3479 pr review naming * AVRO-3479 doc comment doc and small tests * AVRO-3479 featurize * AVRO-3479 cargo engineering * Fix a docu warning: warning: unresolved link to `AvroSchemaComponent` --> avro/src/schema.rs:1524:70 | 1524 | /// through `derive` feature. Do not implement directly, implement [`AvroSchemaComponent`] | ^^^^^^^^^^^^^^^^^^^ no item named `AvroSchemaComponent` in scope | = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` warning: `apache-avro` (lib doc) generated 1 warning Finished dev [unoptimized + debuginfo] target(s) in 10.13s Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Rename avro_derive to apache-avro-derive For consistency. Add Cargo.toml metadata Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Use fqn for Mutex For some reason Rustdoc build sometimes (not always!) complain that the import of std::sync::Mutex is not used ... Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Update darling to 0.14.0 Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Fix the version of apache-avro-derive Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Minor cleanups Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Inline a pub function that is used only in avro_derive Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Derive Schema::Long for u32 Validate successfully Value::Int into Schema::Long Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * AVRO-3479: Bump dependencies to their latest versions Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> Co-authored-by: Martin Tzvetanov Grigorov <[email protected]> Co-authored-by: Martin Grigorov <[email protected]> (cherry picked from commit cbc4372)
- Loading branch information
Showing
8 changed files
with
1,852 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,5 @@ | |
[workspace] | ||
members = [ | ||
"avro", | ||
"avro_derive" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.