Skip to content

Commit

Permalink
Add new import macro prototype.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfredric committed Feb 16, 2022
1 parent 14ee068 commit ef189fb
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 21 deletions.
4 changes: 1 addition & 3 deletions util/import/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ rust_proc_macro(
srcs = [
"import.rs",
],
crate_name = "import",
visibility = ["//visibility:public"],
deps = [
":import_internal",
"//util/import/raze:syn",
],
visibility = ["//visibility:public"],
)

rust_library(
name = "import_internal",
srcs = [
"import_internal.rs",
],
crate_name = "import_internal",
deps = [
"//util/import/raze:aho_corasick",
"//util/import/raze:lazy_static",
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.aho-corasick-0.7.15.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=aho_corasick",
"manual",
"crate-name=aho_corasick"
],
version = "0.7.15",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.cfg-if-1.0.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=cfg-if",
"manual",
"crate-name=cfg-if"
],
version = "1.0.0",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.env_logger-0.8.4.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=env_logger",
"manual",
"crate-name=env_logger"
],
version = "0.8.4",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.getrandom-0.2.3.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=getrandom",
"manual",
"crate-name=getrandom"
],
version = "0.2.3",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.lazy_static-1.4.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=lazy_static",
"manual",
"crate-name=lazy_static"
],
version = "1.4.0",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.libc-0.2.112.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=libc",
"manual",
"crate-name=libc"
],
version = "0.2.112",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.log-0.4.14.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=log",
"manual",
"crate-name=log"
],
version = "0.4.14",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.memchr-2.4.1.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=memchr",
"manual",
"crate-name=memchr"
],
version = "2.4.1",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.proc-macro2-1.0.33.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=proc-macro2",
"manual",
"crate-name=proc-macro2"
],
version = "1.0.33",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.quickcheck-1.0.3.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=quickcheck",
"manual",
"crate-name=quickcheck"
],
version = "1.0.3",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.quote-1.0.10.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=quote",
"manual",
"crate-name=quote"
],
version = "1.0.10",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.rand-0.8.4.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=rand",
"manual",
"crate-name=rand"
],
version = "0.8.4",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.rand_core-0.6.3.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=rand_core",
"manual",
"crate-name=rand_core"
],
version = "0.6.3",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.regex-1.4.6.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=regex",
"manual",
"crate-name=regex"
],
version = "1.4.6",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.regex-syntax-0.6.25.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=regex-syntax",
"manual",
"crate-name=regex-syntax"
],
version = "0.6.25",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.syn-1.0.82.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=syn",
"manual",
"crate-name=syn"
],
version = "1.0.82",
# buildifier: leave-alone
Expand Down
2 changes: 1 addition & 1 deletion util/import/raze/remote/BUILD.unicode-xid-0.2.2.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=unicode-xid",
"manual",
"crate-name=unicode-xid"
],
version = "0.2.2",
# buildifier: leave-alone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ rust_library(
],
tags = [
"cargo-raze",
"crate-name=wasi",
"manual",
"crate-name=wasi"
],
version = "0.10.2+wasi-snapshot-preview1",
# buildifier: leave-alone
Expand Down

0 comments on commit ef189fb

Please sign in to comment.