diff options
| author | Igor Matuszewski <xanewok@gmail.com> | 2020-05-05 14:16:15 +0200 |
|---|---|---|
| committer | Igor Matuszewski <xanewok@gmail.com> | 2020-05-05 15:29:15 +0200 |
| commit | b512b1c7af7e45f3127859d3786377032aff1956 (patch) | |
| tree | c6a98367ca8a62e6827512908a0c49bffe46a304 | |
| parent | 1dd0e3c38f2cd4af7162a308d509018711417b5c (diff) | |
| download | rust-b512b1c7af7e45f3127859d3786377032aff1956.tar.gz rust-b512b1c7af7e45f3127859d3786377032aff1956.zip | |
Unify some syn 1.0 et al. features for tools
| -rw-r--r-- | Cargo.lock | 3 | ||||
| -rw-r--r-- | src/tools/rustc-workspace-hack/Cargo.toml | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock index 23521e0736d..16bb501d312 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3503,11 +3503,14 @@ name = "rustc-workspace-hack" version = "1.0.0" dependencies = [ "crossbeam-utils 0.7.2", + "proc-macro2 1.0.3", + "quote 1.0.2", "serde", "serde_json", "smallvec 0.6.10", "smallvec 1.4.0", "syn 0.15.35", + "syn 1.0.11", "url 2.1.0", "winapi 0.3.8", ] diff --git a/src/tools/rustc-workspace-hack/Cargo.toml b/src/tools/rustc-workspace-hack/Cargo.toml index 7e70b52da4d..f07819aeac2 100644 --- a/src/tools/rustc-workspace-hack/Cargo.toml +++ b/src/tools/rustc-workspace-hack/Cargo.toml @@ -60,12 +60,15 @@ features = [ [dependencies] curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true } crossbeam-utils = { version = "0.7.2", features = ["nightly"] } +proc-macro2 = { version = "1", features = ["default"] } +quote = { version = "1", features = ["default"] } serde = { version = "1.0.82", features = ['derive'] } serde_json = { version = "1.0.31", features = ["raw_value"] } smallvec-0_6 = { package = "smallvec", version = "0.6", features = ['union', 'may_dangle'] } smallvec = { version = "1.0", features = ['union', 'may_dangle'] } -url = { version = "2.0", features = ['serde'] } syn = { version = "0.15", features = ['full', 'extra-traits'] } +syn-1 = { package = "syn", version = "1", features = ['fold', 'full', 'extra-traits', 'visit'] } +url = { version = "2.0", features = ['serde'] } [target.'cfg(not(windows))'.dependencies] openssl = { version = "0.10.12", optional = true } |
