mirror of
https://github.com/github/codeql.git
synced 2026-07-22 11:42:03 +02:00
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.
13 lines
352 B
Python
13 lines
352 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-schema",
|
|
srcs = glob(["src/**/*.rs"]),
|
|
aliases = aliases(),
|
|
visibility = ["//visibility:public"],
|
|
deps = all_crate_deps(),
|
|
)
|