tidaldb/tidalctl/BUILD.bazel
jx12n 3bcfb3c576 feat: Bazel build, crate docs/ai-lookup, docker images, and engine hardening
- Add BUILD.bazel across tidal, tidal-net, tidal-server, tidalctl for bzlmod build
- Add tidal/ crate docs (README, CHANGELOG, CONTRIBUTING, AGENTS, CLAUDE, API, ARCHITECTURE) and ai-lookup reference
- Add docker standalone/cluster/deploy images, compose, and prometheus config
- Harden WAL (batch format, writer, dedup, diagnostics), text syncer/collectors, and vector registry
- Expand tidalctl CLI and tests; restructure WAL/visibility integration test suites
- Refine tidal-net transport/client/server and tidal-server cluster/scatter-gather
2026-06-07 18:29:38 -06:00

33 lines
1.3 KiB
Python

load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", "rust_proc_macro", "rust_test")
load("@crates//:defs.bzl", "aliases", "all_crate_deps")
load("//bazel:rust_cargo_tests.bzl", "rust_cargo_integration_tests")
rust_binary(
name = "tidalctl",
srcs = glob(["src/**/*.rs", "src/*.rs"], allow_empty = True),
crate_root = "src/main.rs",
edition = "2024",
compile_data = glob(["**/*"], exclude = ["**/*.rs", "**/*.bazel", "BUILD", "WORKSPACE"], allow_empty = True),
aliases = aliases(),
deps = all_crate_deps(normal = True) + [
"//tidal:tidaldb",
],
proc_macro_deps = all_crate_deps(proc_macro = True),
visibility = ["//visibility:public"],
)
rust_cargo_integration_tests(
name_prefix = "tidalctl",
tests = glob(["tests/*.rs"]),
srcs = glob(["tests/**/*.rs"]),
compile_data = glob(["**/*"], exclude = ["**/*.rs", "**/*.bazel", "BUILD", "WORKSPACE"], allow_empty = True),
data = glob(["**/*"], exclude = ["**/*.rs", "**/*.bazel", "BUILD", "WORKSPACE"], allow_empty = True) + [
":tidalctl",
],
aliases = aliases(normal_dev = True, proc_macro_dev = True),
deps = all_crate_deps(normal = True, normal_dev = True) + [
"//tidal:tidaldb_test_support",
],
proc_macro_deps = all_crate_deps(proc_macro = True, proc_macro_dev = True),
)