Sitelet https://github.com/dtolnay/syn/commit/39d40ad6058650c9e89967eca6b3a9c59810314f
Skip to content

Commit 39d40ad

Browse files
committed
Update most workspace members to 2024 edition
1 parent 51e8a41 commit 39d40ad

17 files changed

Lines changed: 61 additions & 28 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
name: Windows
6161
os: windows
6262
env:
63+
manifest_path: ${{matrix.rust == '1.71.0' && '--manifest-path=tests/crate/Cargo.toml' || ''}}
6364
target: ${{matrix.target && format('--target={0}', matrix.target)}}
6465
timeout-minutes: 45
6566
steps:
@@ -69,21 +70,21 @@ jobs:
6970
toolchain: ${{matrix.rust}}
7071
targets: ${{matrix.target}}
7172
components: ${{matrix.components}}
72-
- run: cargo check ${{env.target}} --no-default-features
73-
- run: cargo check ${{env.target}}
74-
- run: cargo check ${{env.target}} --features full
75-
- run: cargo check ${{env.target}} --features 'fold visit visit-mut'
76-
- run: cargo check ${{env.target}} --features 'full fold visit visit-mut'
77-
- run: cargo check ${{env.target}} --no-default-features --features derive
78-
- run: cargo check ${{env.target}} --no-default-features --features 'derive parsing'
79-
- run: cargo check ${{env.target}} --no-default-features --features 'derive printing'
80-
- run: cargo check ${{env.target}} --no-default-features --features 'proc-macro parsing printing'
81-
- run: cargo check ${{env.target}} --no-default-features --features full
82-
- run: cargo check ${{env.target}} --no-default-features --features 'full parsing'
83-
- run: cargo check ${{env.target}} --no-default-features --features 'full printing'
84-
- run: cargo check ${{env.target}} --no-default-features --features 'full parsing printing'
85-
- run: cargo check ${{env.target}} --no-default-features --features 'fold visit visit-mut parsing printing'
86-
- run: cargo check ${{env.target}} --no-default-features --features 'full fold visit visit-mut parsing printing'
73+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features
74+
- run: cargo check ${{env.manifest_path}} ${{env.target}}
75+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --features full
76+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --features 'fold visit visit-mut'
77+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --features 'full fold visit visit-mut'
78+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features derive
79+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features 'derive parsing'
80+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features 'derive printing'
81+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features 'proc-macro parsing printing'
82+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features full
83+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features 'full parsing'
84+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features 'full printing'
85+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features 'full parsing printing'
86+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features 'fold visit visit-mut parsing printing'
87+
- run: cargo check ${{env.manifest_path}} ${{env.target}} --no-default-features --features 'full fold visit visit-mut parsing printing'
8788
- if: matrix.components == 'rustc-dev'
8889
run: cargo check --benches --all-features --release
8990
- if: matrix.rust != '1.71.0'

‎codegen/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "syn-internal-codegen"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>", "Nika Layzell <nika@thelayzells.com>"]
5-
edition = "2021"
5+
edition = "2024"
66

77
publish = false # this is an internal crate which should never be published
88

‎dev/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "syn-dev"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66
publish = false
77

88
[lib]

‎examples/dump-syntax/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "dump-syntax"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66
publish = false
77

88
[dependencies]

‎examples/heapsize/example/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "heapsize_example"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66
publish = false
77

88
[dependencies]

‎examples/heapsize/heapsize/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "heapsize"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66
publish = false
77

88
[dependencies]

‎examples/heapsize/heapsize_derive/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "heapsize_derive"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66
publish = false
77

88
[lib]

‎examples/lazy-static/example/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "lazy-static-example"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66
publish = false
77

88
[dependencies]

‎examples/lazy-static/lazy-static/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "lazy_static"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66
publish = false
77

88
[lib]

‎examples/trace-var/example/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "trace-var-example"
33
version = "0.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
5-
edition = "2021"
5+
edition = "2024"
66
publish = false
77

88
[dependencies]

0 commit comments

Comments
 (0)