12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- # Code generated by cargo-gazelle DO NOT EDIT
- # Copyright Materialize, Inc. and contributors. All rights reserved.
- #
- # Use of this software is governed by the Business Source License
- # included in the LICENSE file at the root of this repository.
- #
- # As of the Change Date specified in that file, in accordance with
- # the Business Source License, use of this software will be governed
- # by the Apache License, Version 2.0.
- load("@crates_io//:defs.bzl", "aliases", "all_crate_deps")
- load("@rules_rust//cargo:defs.bzl", "extract_cargo_lints")
- load("@rules_rust//rust:defs.bzl", "rust_doc_test", "rust_library", "rust_test")
- package(default_visibility = ["//visibility:public"])
- rust_library(
- name = "mz_test_util",
- srcs = glob(["src/**/*.rs"]),
- aliases = aliases(
- normal = True,
- proc_macro = True,
- ),
- compile_data = [],
- crate_features = [],
- data = [],
- lint_config = ":lints",
- proc_macro_deps = [] + all_crate_deps(proc_macro = True),
- rustc_env = {},
- rustc_flags = [],
- version = "0.0.0",
- deps = [
- "//src/kafka-util:mz_kafka_util",
- "//src/ore:mz_ore",
- ] + all_crate_deps(normal = True),
- )
- alias(
- name = "test-util",
- actual = "mz_test_util",
- )
- rust_test(
- name = "mz_test_util_lib_tests",
- size = "medium",
- aliases = aliases(
- normal = True,
- normal_dev = True,
- proc_macro = True,
- proc_macro_dev = True,
- ),
- compile_data = [],
- crate = ":mz_test_util",
- crate_features = [],
- data = [],
- env = {},
- lint_config = ":lints",
- proc_macro_deps = [] + all_crate_deps(
- proc_macro = True,
- proc_macro_dev = True,
- ),
- rustc_env = {},
- rustc_flags = [],
- version = "0.0.0",
- deps = [
- "//src/kafka-util:mz_kafka_util",
- "//src/ore:mz_ore",
- ] + all_crate_deps(
- normal = True,
- normal_dev = True,
- ),
- )
- rust_doc_test(
- name = "mz_test_util_doc_test",
- crate = ":mz_test_util",
- deps = [
- "//src/kafka-util:mz_kafka_util",
- "//src/ore:mz_ore",
- ] + all_crate_deps(
- normal = True,
- normal_dev = True,
- ),
- )
- extract_cargo_lints(
- name = "lints",
- manifest = "Cargo.toml",
- workspace = "@//:Cargo.toml",
- )
|