Skip to content

Commit 9cea040

Browse files
committed
Release 2.0.57
2 parents 3c07b78 + 585df47 commit 9cea040

File tree

7 files changed

+24
-51
lines changed

7 files changed

+24
-51
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
rust: [stable, beta, 1.60.0, 1.56.0]
40+
rust: [stable, beta, 1.60.0]
4141
include:
4242
- rust: nightly
4343
components: rustc-dev
@@ -52,7 +52,6 @@ jobs:
5252
os: windows
5353
env:
5454
target: ${{matrix.target && format('--target={0}', matrix.target)}}
55-
manifestpath: ${{matrix.rust == '1.56.0' && '--manifest-path tests/crate/Cargo.toml' || ''}}
5655
timeout-minutes: 45
5756
steps:
5857
- uses: actions/checkout@v4
@@ -61,21 +60,21 @@ jobs:
6160
toolchain: ${{matrix.rust}}
6261
targets: ${{matrix.target}}
6362
components: ${{matrix.components}}
64-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features
65-
- run: cargo check ${{env.manifestpath}} ${{env.target}}
66-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --features full
67-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --features 'fold visit visit-mut'
68-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --features 'full fold visit visit-mut'
69-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features derive
70-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features 'derive parsing'
71-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features 'derive printing'
72-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features 'proc-macro parsing printing'
73-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features full
74-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features 'full parsing'
75-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features 'full printing'
76-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features 'full parsing printing'
77-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features 'fold visit visit-mut parsing printing'
78-
- run: cargo check ${{env.manifestpath}} ${{env.target}} --no-default-features --features 'full fold visit visit-mut parsing printing'
63+
- run: cargo check ${{env.target}} --no-default-features
64+
- run: cargo check ${{env.target}}
65+
- run: cargo check ${{env.target}} --features full
66+
- run: cargo check ${{env.target}} --features 'fold visit visit-mut'
67+
- run: cargo check ${{env.target}} --features 'full fold visit visit-mut'
68+
- run: cargo check ${{env.target}} --no-default-features --features derive
69+
- run: cargo check ${{env.target}} --no-default-features --features 'derive parsing'
70+
- run: cargo check ${{env.target}} --no-default-features --features 'derive printing'
71+
- run: cargo check ${{env.target}} --no-default-features --features 'proc-macro parsing printing'
72+
- run: cargo check ${{env.target}} --no-default-features --features full
73+
- run: cargo check ${{env.target}} --no-default-features --features 'full parsing'
74+
- run: cargo check ${{env.target}} --no-default-features --features 'full printing'
75+
- run: cargo check ${{env.target}} --no-default-features --features 'full parsing printing'
76+
- run: cargo check ${{env.target}} --no-default-features --features 'fold visit visit-mut parsing printing'
77+
- run: cargo check ${{env.target}} --no-default-features --features 'full fold visit visit-mut parsing printing'
7978
- if: matrix.components == 'rustc-dev'
8079
run: cargo check --benches --all-features --release
8180

@@ -179,6 +178,7 @@ jobs:
179178
timeout-minutes: 45
180179
steps:
181180
- uses: actions/checkout@v4
181+
- uses: dtolnay/rust-toolchain@stable
182182
- uses: dtolnay/install@cargo-outdated
183183
- run: cargo outdated --workspace --exit-code 1
184184
- run: cargo outdated --manifest-path fuzz/Cargo.toml --exit-code 1

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "syn"
3-
version = "2.0.56" # don't forget to update html_root_url and syn.json
3+
version = "2.0.57" # don't forget to update html_root_url and syn.json
44
authors = ["David Tolnay <[email protected]>"]
55
categories = ["development-tools::procedural-macro-helpers", "parser-implementations"]
66
description = "Parser for Rust source code"
@@ -18,20 +18,20 @@ include = [
1818
keywords = ["macros", "syn"]
1919
license = "MIT OR Apache-2.0"
2020
repository = "https://github.com/dtolnay/syn"
21-
rust-version = "1.56"
21+
rust-version = "1.60"
2222

2323
[features]
2424
default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
2525
derive = []
2626
full = []
2727
parsing = []
28-
printing = ["quote"]
28+
printing = ["dep:quote"]
2929
visit = []
3030
visit-mut = []
3131
fold = []
3232
clone-impls = []
3333
extra-traits = []
34-
proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
34+
proc-macro = ["proc-macro2/proc-macro", "quote?/proc-macro"]
3535
test = ["syn-test-suite/all-features"]
3636

3737
[dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ contains some APIs that may be useful more generally.
4646
[`syn::DeriveInput`]: https://docs.rs/syn/2.0/syn/struct.DeriveInput.html
4747
[parser functions]: https://docs.rs/syn/2.0/syn/parse/index.html
4848

49-
*Version requirement: Syn supports rustc 1.56 and up.*
49+
*Version requirement: Syn supports rustc 1.60 and up.*
5050

5151
[*Release notes*](https://github.com/dtolnay/syn/releases)
5252

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
//! dynamic library libproc_macro from rustc toolchain.
250250
251251
// Syn types in rustdoc of other crates get linked to here.
252-
#![doc(html_root_url = "https://docs.rs/syn/2.0.56")]
252+
#![doc(html_root_url = "https://docs.rs/syn/2.0.57")]
253253
#![cfg_attr(doc_cfg, feature(doc_cfg))]
254254
#![deny(unsafe_op_in_unsafe_fn)]
255255
#![allow(non_camel_case_types)]

syn.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/crate/Cargo.toml

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/crate/test.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)