blob: f191aaa66467b87b608c45ffacf3e67dff4fcaaa [file]
# Copyright 2026 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("//build/bazel/platforms:constraints.bzl", "HOST_OS_CONSTRAINTS")
load("//build/bazel/rules/rust:defs.bzl", "rustc_library")
package(
default_applicable_licenses = ["//:license"],
default_visibility = ["//visibility:public"],
)
rustc_library(
name = "lib",
srcs = [
"src/filter.rs",
"src/format.rs",
"src/lib.rs",
"src/log_sink.rs",
"src/test.rs",
],
crate_name = "logging",
edition = "2024",
target_compatible_with = HOST_OS_CONSTRAINTS,
version = "0.1.0",
with_host_unit_tests = True,
deps = [
"//third_party/rust_crates/vendor:chrono",
"//third_party/rust_crates/vendor:log",
],
)