mirror of
https://github.com/github/codeql.git
synced 2026-06-09 23:14:13 +02:00
Add BUILD.bazel files for the yeast and yeast-macros crates, register them as dependencies of the shared tree-sitter extractor, and refresh the vendored crate dependencies via update_tree_sitter_extractors_deps.sh.
19 lines
458 B
Python
19 lines
458 B
Python
load("@rules_rust//rust:defs.bzl", "rust_library")
|
|
load("//misc/bazel/3rdparty/tree_sitter_extractors_deps:defs.bzl", "aliases", "all_crate_deps")
|
|
|
|
exports_files(["Cargo.toml"])
|
|
|
|
rust_library(
|
|
name = "yeast",
|
|
srcs = glob(
|
|
["src/**/*.rs"],
|
|
exclude = ["src/bin/**"],
|
|
),
|
|
aliases = aliases(),
|
|
proc_macro_deps = [
|
|
"//shared/yeast-macros",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
deps = all_crate_deps(),
|
|
)
|