diff --git a/Cargo.lock b/Cargo.lock index 8dd3e9e..a648654 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1707,7 +1707,7 @@ dependencies = [ "rayon", "serde", "serde_json", - "syn 2.0.119", + "syn 3.0.3", "tempfile", "thiserror 2.0.20", "toml", diff --git a/Cargo.toml b/Cargo.toml index c51cc8b..6643b62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ globset = "0.4" # The Rust source parser behind every per-file item, function-length, and # complexity metric. `full` is required to see function bodies; `visit` gives # the AST walker the analyzers are written against. -syn = { version = "2", default-features = false, features = [ +syn = { version = "3", default-features = false, features = [ "full", "parsing", "visit",