This is an automated email from the ASF dual-hosted git repository.

martin-g pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new 006ac89  chore(deps): Bump serde_json from 1.0.150 to 1.0.151 (#613)
006ac89 is described below

commit 006ac8976f52af356beb5042788370f645f6da02
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Tue Jul 28 10:09:57 2026 +0300

    chore(deps): Bump serde_json from 1.0.150 to 1.0.151 (#613)
    
    * chore(deps): Bump serde_json from 1.0.150 to 1.0.151
    
    Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.150 to 
1.0.151.
    - [Release notes](https://github.com/serde-rs/json/releases)
    - [Commits](https://github.com/serde-rs/json/compare/v1.0.150...v1.0.151)
    
    ---
    updated-dependencies:
    - dependency-name: serde_json
      dependency-version: 1.0.151
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * Add an item after the attribute
    
    
https://github.com/apache/avro-rs/actions/runs/30329993831/job/90182931363?pr=613
    ```
    ---- avro_derive/src/lib.rs - (line 23) stdout ----
    error: expected item after attributes
      --> avro_derive/src/lib.rs:26:1
       |
    26 | #[derive(AvroSchema)]
       | ^^^^^^^^^^^^^^^^^^^^^ expected an item after this
    
    error: aborting due to 1 previous error
    
    Couldn't compile the test.
    
    failures:
        avro_derive/src/lib.rs - (line 23)
    ```
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
---
 Cargo.lock             | 4 ++--
 avro_derive/src/lib.rs | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 4eff9e5..f688d41 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1226,9 +1226,9 @@ dependencies = [
 
 [[package]]
 name = "serde_json"
-version = "1.0.150"
+version = "1.0.151"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
+checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
 dependencies = [
  "itoa",
  "memchr",
diff --git a/avro_derive/src/lib.rs b/avro_derive/src/lib.rs
index 5284b79..dc70f2c 100644
--- a/avro_derive/src/lib.rs
+++ b/avro_derive/src/lib.rs
@@ -24,6 +24,7 @@
 //! use apache_avro::AvroSchema;
 //!
 //! #[derive(AvroSchema)]
+//! struct MyStruct;
 //! ```
 //! Please see the documentation of the [`AvroSchema`] trait for instructions 
on how to use it.
 //!

Reply via email to