blob: ef19237988a4b04fc13630678cacb67c8280e7c2 [file] [edit]
# 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/rules/rust:rustc_library.bzl", "rustc_library")
package(default_applicable_licenses = ["//:license"])
rustc_library(
name = "errors",
srcs = ["src/lib.rs"],
edition = "2024",
visibility = ["//src/sys/component_manager:__subpackages__"],
deps = [
"//sdk/fidl/fuchsia.component:fuchsia.component_rust",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2_rust",
"//sdk/rust/zx",
"//src/lib/error/clonable_error",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-fs",
"//src/sys/component_manager/lib/router_error",
"//src/sys/component_manager/lib/serve_processargs",
"//src/sys/lib/cm_config",
"//src/sys/lib/cm_fidl_validator",
"//src/sys/lib/cm_rust",
"//src/sys/lib/cm_types",
"//src/sys/lib/component_id_index",
"//src/sys/lib/config_encoder",
"//src/sys/lib/moniker",
"//src/sys/lib/routing",
"//src/sys/lib/runtime_capabilities",
"//third_party/rust_crates/vendor:anyhow",
"//third_party/rust_crates/vendor:thiserror",
],
)