Skip to content

Commit 2a197e7

Browse files
committed
Replace unicode-xid with unicode-ident crate
1 parent aa85818 commit 2a197e7

File tree

7 files changed

+40
-40
lines changed

7 files changed

+40
-40
lines changed

gen/build/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ experimental-async-fn = []
2121
cc = "1.0.49"
2222
codespan-reporting = "0.11"
2323
once_cell = "1.9"
24-
proc-macro2 = { version = "1.0.26", default-features = false, features = ["span-locations"] }
24+
proc-macro2 = { version = "1.0.39", default-features = false, features = ["span-locations"] }
2525
quote = { version = "1.0", default-features = false }
2626
scratch = "1.0"
27-
syn = { version = "1.0.70", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
27+
syn = { version = "1.0.95", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
2828

2929
[dev-dependencies]
3030
cxx-gen = { version = "0.7", path = "../lib" }

gen/cmd/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ experimental-async-fn = []
2323
[dependencies]
2424
clap = { version = "3.1", default-features = false, features = ["std", "suggestions"] }
2525
codespan-reporting = "0.11"
26-
proc-macro2 = { version = "1.0.26", default-features = false, features = ["span-locations"] }
26+
proc-macro2 = { version = "1.0.39", default-features = false, features = ["span-locations"] }
2727
quote = { version = "1.0", default-features = false }
28-
syn = { version = "1.0.70", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
28+
syn = { version = "1.0.95", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
2929

3030
[package.metadata.docs.rs]
3131
targets = ["x86_64-unknown-linux-gnu"]

gen/lib/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ categories = ["development-tools::ffi"]
1313

1414
[dependencies]
1515
codespan-reporting = "0.11"
16-
proc-macro2 = { version = "1.0.26", default-features = false, features = ["span-locations"] }
16+
proc-macro2 = { version = "1.0.39", default-features = false, features = ["span-locations"] }
1717
quote = { version = "1.0", default-features = false }
18-
syn = { version = "1.0.70", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
18+
syn = { version = "1.0.95", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
1919

2020
[package.metadata.docs.rs]
2121
targets = ["x86_64-unknown-linux-gnu"]

macro/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ experimental-async-fn = []
2121
experimental-enum-variants-from-header = ["clang-ast", "flate2", "memmap", "serde", "serde_json"]
2222

2323
[dependencies]
24-
proc-macro2 = "1.0"
24+
proc-macro2 = "1.0.39"
2525
quote = "1.0.4"
26-
syn = { version = "1.0.70", features = ["full"] }
26+
syn = { version = "1.0.95", features = ["full"] }
2727

2828
# optional dependencies:
2929
clang-ast = { version = "0.1", optional = true }

third-party/BUCK

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ rust_library(
7878

7979
rust_library(
8080
name = "proc-macro2",
81-
srcs = glob(["vendor/proc-macro2-1.0.38/src/**"]),
82-
build_script = "vendor/proc-macro2-1.0.38/build.rs",
81+
srcs = glob(["vendor/proc-macro2-1.0.39/src/**"]),
82+
build_script = "vendor/proc-macro2-1.0.39/build.rs",
8383
features = [
8484
"proc-macro",
8585
"span-locations",
8686
],
8787
visibility = ["PUBLIC"],
88-
deps = [":unicode-xid"],
88+
deps = [":unicode-ident"],
8989
)
9090

9191
rust_library(
@@ -105,8 +105,8 @@ rust_library(
105105

106106
rust_library(
107107
name = "syn",
108-
srcs = glob(["vendor/syn-1.0.94/src/**"]),
109-
build_script = "vendor/syn-1.0.94/build.rs",
108+
srcs = glob(["vendor/syn-1.0.95/src/**"]),
109+
build_script = "vendor/syn-1.0.95/build.rs",
110110
features = [
111111
"clone-impls",
112112
"derive",
@@ -119,7 +119,7 @@ rust_library(
119119
deps = [
120120
":proc-macro2",
121121
":quote",
122-
":unicode-xid",
122+
":unicode-ident",
123123
],
124124
)
125125

@@ -135,11 +135,11 @@ rust_library(
135135
)
136136

137137
rust_library(
138-
name = "unicode-width",
139-
srcs = glob(["vendor/unicode-width-0.1.9/src/**"]),
138+
name = "unicode-ident",
139+
srcs = glob(["vendor/unicode-ident-1.0.0/src/**"]),
140140
)
141141

142142
rust_library(
143-
name = "unicode-xid",
144-
srcs = glob(["vendor/unicode-xid-0.2.3/src/**"]),
143+
name = "unicode-width",
144+
srcs = glob(["vendor/unicode-width-0.1.9/src/**"]),
145145
)

third-party/BUILD

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ rust_library(
9090

9191
rust_library(
9292
name = "proc-macro2",
93-
srcs = glob(["vendor/proc-macro2-1.0.38/src/**"]),
93+
srcs = glob(["vendor/proc-macro2-1.0.39/src/**"]),
9494
crate_features = [
9595
"proc-macro",
9696
"span-locations",
@@ -99,13 +99,13 @@ rust_library(
9999
visibility = ["//visibility:public"],
100100
deps = [
101101
":proc-macro2@build",
102-
":unicode-xid",
102+
":unicode-ident",
103103
],
104104
)
105105

106106
cargo_build_script(
107107
name = "proc-macro2@build",
108-
srcs = ["vendor/proc-macro2-1.0.38/build.rs"],
108+
srcs = ["vendor/proc-macro2-1.0.39/build.rs"],
109109
crate_features = [
110110
"proc-macro",
111111
"span-locations",
@@ -133,7 +133,7 @@ rust_library(
133133

134134
rust_library(
135135
name = "syn",
136-
srcs = glob(["vendor/syn-1.0.94/src/**"]),
136+
srcs = glob(["vendor/syn-1.0.95/src/**"]),
137137
crate_features = [
138138
"clone-impls",
139139
"derive",
@@ -148,13 +148,13 @@ rust_library(
148148
":proc-macro2",
149149
":quote",
150150
":syn@build",
151-
":unicode-xid",
151+
":unicode-ident",
152152
],
153153
)
154154

155155
cargo_build_script(
156156
name = "syn@build",
157-
srcs = ["vendor/syn-1.0.94/build.rs"],
157+
srcs = ["vendor/syn-1.0.95/build.rs"],
158158
crate_features = [
159159
"clone-impls",
160160
"derive",
@@ -181,13 +181,13 @@ rust_library(
181181
)
182182

183183
rust_library(
184-
name = "unicode-width",
185-
srcs = glob(["vendor/unicode-width-0.1.9/src/**"]),
184+
name = "unicode-ident",
185+
srcs = glob(["vendor/unicode-ident-1.0.0/src/**"]),
186186
edition = "2018",
187187
)
188188

189189
rust_library(
190-
name = "unicode-xid",
191-
srcs = glob(["vendor/unicode-xid-0.2.3/src/**"]),
190+
name = "unicode-width",
191+
srcs = glob(["vendor/unicode-width-0.1.9/src/**"]),
192192
edition = "2018",
193193
)

third-party/Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)