mirror of
https://github.com/topjohnwu/cxx.git
synced 2025-02-23 09:30:45 +00:00
Import scratch crate
This commit is contained in:
parent
039320287d
commit
a8beeef131
1
BUCK
1
BUCK
@ -56,6 +56,7 @@ rust_library(
|
||||
"//third-party:lazy_static",
|
||||
"//third-party:proc-macro2",
|
||||
"//third-party:quote",
|
||||
"//third-party:scratch",
|
||||
"//third-party:syn",
|
||||
],
|
||||
)
|
||||
|
1
BUILD
1
BUILD
@ -62,6 +62,7 @@ rust_library(
|
||||
"//third-party:lazy_static",
|
||||
"//third-party:proc-macro2",
|
||||
"//third-party:quote",
|
||||
"//third-party:scratch",
|
||||
"//third-party:syn",
|
||||
],
|
||||
)
|
||||
|
@ -16,6 +16,7 @@ codespan-reporting = "0.9"
|
||||
lazy_static = "1.4"
|
||||
proc-macro2 = { version = "1.0.17", default-features = false, features = ["span-locations"] }
|
||||
quote = { version = "1.0", default-features = false }
|
||||
scratch = "1.0"
|
||||
syn = { version = "1.0.20", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
7
third-party/BUCK
vendored
7
third-party/BUCK
vendored
@ -63,6 +63,13 @@ rust_library(
|
||||
deps = [":proc-macro2"],
|
||||
)
|
||||
|
||||
rust_library(
|
||||
name = "scratch",
|
||||
srcs = glob(["vendor/scratch-1.0.0/src/**"]),
|
||||
env = {"OUT_DIR": ""},
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
|
||||
rust_library(
|
||||
name = "syn",
|
||||
srcs = glob(["vendor/syn-1.0.42/src/**"]),
|
||||
|
7
third-party/BUILD
vendored
7
third-party/BUILD
vendored
@ -68,6 +68,13 @@ rust_library(
|
||||
deps = [":proc-macro2"],
|
||||
)
|
||||
|
||||
rust_library(
|
||||
name = "scratch",
|
||||
srcs = glob(["vendor/scratch-1.0.0/src/**"]),
|
||||
rustc_env = {"OUT_DIR": ""},
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
rust_library(
|
||||
name = "syn",
|
||||
srcs = glob(["vendor/syn-1.0.42/src/**"]),
|
||||
|
7
third-party/Cargo.lock
generated
vendored
7
third-party/Cargo.lock
generated
vendored
@ -82,6 +82,7 @@ dependencies = [
|
||||
"lazy_static",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"scratch",
|
||||
"syn",
|
||||
]
|
||||
|
||||
@ -221,6 +222,12 @@ version = "1.0.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
|
||||
|
||||
[[package]]
|
||||
name = "scratch"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7e114536316b51a5aa7a0e59fc49661fd263c5507dd08bd28de052e57626ce69"
|
||||
|
||||
[[package]]
|
||||
name = "serde"
|
||||
version = "1.0.116"
|
||||
|
Loading…
x
Reference in New Issue
Block a user