Skip to content

Commit b512b1c

Browse files
committed
Unify some syn 1.0 et al. features for tools
1 parent 1dd0e3c commit b512b1c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Cargo.lock

+3
Original file line numberDiff line numberDiff line change
@@ -3503,11 +3503,14 @@ name = "rustc-workspace-hack"
35033503
version = "1.0.0"
35043504
dependencies = [
35053505
"crossbeam-utils 0.7.2",
3506+
"proc-macro2 1.0.3",
3507+
"quote 1.0.2",
35063508
"serde",
35073509
"serde_json",
35083510
"smallvec 0.6.10",
35093511
"smallvec 1.4.0",
35103512
"syn 0.15.35",
3513+
"syn 1.0.11",
35113514
"url 2.1.0",
35123515
"winapi 0.3.8",
35133516
]

src/tools/rustc-workspace-hack/Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,15 @@ features = [
6060
[dependencies]
6161
curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
6262
crossbeam-utils = { version = "0.7.2", features = ["nightly"] }
63+
proc-macro2 = { version = "1", features = ["default"] }
64+
quote = { version = "1", features = ["default"] }
6365
serde = { version = "1.0.82", features = ['derive'] }
6466
serde_json = { version = "1.0.31", features = ["raw_value"] }
6567
smallvec-0_6 = { package = "smallvec", version = "0.6", features = ['union', 'may_dangle'] }
6668
smallvec = { version = "1.0", features = ['union', 'may_dangle'] }
67-
url = { version = "2.0", features = ['serde'] }
6869
syn = { version = "0.15", features = ['full', 'extra-traits'] }
70+
syn-1 = { package = "syn", version = "1", features = ['fold', 'full', 'extra-traits', 'visit'] }
71+
url = { version = "2.0", features = ['serde'] }
6972

7073
[target.'cfg(not(windows))'.dependencies]
7174
openssl = { version = "0.10.12", optional = true }

0 commit comments

Comments
 (0)