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 6a060b4 commit 66118f1
Show file tree
Hide file tree
Showing 19 changed files with 100 additions and 0 deletions.
10 changes: 10 additions & 0 deletions util/import/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,30 @@ rust_proc_macro(
srcs = [
"import.rs",
],
<<<<<<< HEAD
crate_name = "import",
visibility = ["//visibility:public"],
=======
>>>>>>> ffc525b (Add new `import` macro prototype.)
deps = [
":import_internal",
"//util/import/raze:syn",
],
<<<<<<< HEAD
=======
visibility = ["//visibility:public"],
>>>>>>> ffc525b (Add new `import` macro prototype.)
)

rust_library(
name = "import_internal",
srcs = [
"import_internal.rs",
],
<<<<<<< HEAD
crate_name = "import_internal",
=======
>>>>>>> ffc525b (Add new `import` macro prototype.)
deps = [
"//util/import/raze:aho_corasick",
"//util/import/raze:lazy_static",
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=aho_corasick",
"manual",
=======
"manual",
"crate-name=aho_corasick"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.7.15",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=cfg-if",
"manual",
=======
"manual",
"crate-name=cfg-if"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "1.0.0",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=env_logger",
"manual",
=======
"manual",
"crate-name=env_logger"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.8.4",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=getrandom",
"manual",
=======
"manual",
"crate-name=getrandom"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.2.3",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=lazy_static",
"manual",
=======
"manual",
"crate-name=lazy_static"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "1.4.0",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=libc",
"manual",
=======
"manual",
"crate-name=libc"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.2.112",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=log",
"manual",
=======
"manual",
"crate-name=log"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.4.14",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=memchr",
"manual",
=======
"manual",
"crate-name=memchr"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "2.4.1",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=proc-macro2",
"manual",
=======
"manual",
"crate-name=proc-macro2"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "1.0.33",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=quickcheck",
"manual",
=======
"manual",
"crate-name=quickcheck"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "1.0.3",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=quote",
"manual",
=======
"manual",
"crate-name=quote"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "1.0.10",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=rand",
"manual",
=======
"manual",
"crate-name=rand"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.8.4",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=rand_core",
"manual",
=======
"manual",
"crate-name=rand_core"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.6.3",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=regex",
"manual",
=======
"manual",
"crate-name=regex"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "1.4.6",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=regex-syntax",
"manual",
=======
"manual",
"crate-name=regex-syntax"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.6.25",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=syn",
"manual",
=======
"manual",
"crate-name=syn"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "1.0.82",
# buildifier: leave-alone
Expand Down
5 changes: 5 additions & 0 deletions 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,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=unicode-xid",
"manual",
=======
"manual",
"crate-name=unicode-xid"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.2.2",
# buildifier: leave-alone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ rust_library(
],
tags = [
"cargo-raze",
<<<<<<< HEAD
"crate-name=wasi",
"manual",
=======
"manual",
"crate-name=wasi"
>>>>>>> ffc525b (Add new `import` macro prototype.)
],
version = "0.10.2+wasi-snapshot-preview1",
# buildifier: leave-alone
Expand Down

0 comments on commit 66118f1

Please sign in to comment.