Files
codeql/shared/yeast/BUILD.bazel
Taus 1fb4f9d208 yeast: Move schema and YAML loader into yeast-schema crate
For type checking rules, we need to be able to load schemas (so we know
what to check against). However, since we can't have yeast-macros
depending on yeast (where the schema-handling code currently lives) as
this would introduce a circular dependency, we instead split the
schema-related code into its own yeast-schema crate.
2026-07-09 11:39:30 +00:00

21 lines
501 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() + [
"//shared/yeast-schema",
],
)