You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2023/03/21 08:36:20 UTC

[avro] branch master updated: Revert "Bump syn from 1.0.109 to 2.0.3 in /lang/rust (#2154)"

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

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 04a79fe5a Revert "Bump syn from 1.0.109 to 2.0.3 in /lang/rust (#2154)"
04a79fe5a is described below

commit 04a79fe5a047eec0092f5a999538ddc694470df7
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Tue Mar 21 10:32:44 2023 +0200

    Revert "Bump syn from 1.0.109 to 2.0.3 in /lang/rust (#2154)"
    
    This reverts commit f52a10b6b4cc53c951c592b1dffc5864e17df923.
    
    "darling" crate is not ready yet for syn 2.x
---
 lang/rust/Cargo.lock             | 2 +-
 lang/rust/avro_derive/Cargo.toml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lang/rust/Cargo.lock b/lang/rust/Cargo.lock
index 7db80e63d..eecd949d5 100644
--- a/lang/rust/Cargo.lock
+++ b/lang/rust/Cargo.lock
@@ -91,7 +91,7 @@ dependencies = [
  "quote",
  "serde",
  "serde_json",
- "syn 2.0.3",
+ "syn 1.0.109",
 ]
 
 [[package]]
diff --git a/lang/rust/avro_derive/Cargo.toml b/lang/rust/avro_derive/Cargo.toml
index 06cf77f0a..b11bfb52d 100644
--- a/lang/rust/avro_derive/Cargo.toml
+++ b/lang/rust/avro_derive/Cargo.toml
@@ -37,7 +37,7 @@ darling = { default-features = false, version = "0.14.4" }
 proc-macro2 = { default-features = false, version = "1.0.52" }
 quote = { default-features = false, version = "1.0.26" }
 serde_json = { default-features = false, version = "1.0.94", features = ["std"] }
-syn = { default-features = false, version = "2.0.3", features = ["full", "fold"] }
+syn = { default-features = false, version = "1.0.109", features = ["full", "fold"] }
 
 [dev-dependencies]
 apache-avro = { default-features = false, path = "../avro", features = ["derive"] }