| # Copyright 2021 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. |
| |
| third_party_rust_crate_log_visibility = [ |
| # ________ _________ ________ ________ |
| # |\ ____\|\___ ___\\ __ \|\ __ \ |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| |
| # ____\_\ \ \ \__\ \ \_______\ \__\ |
| # |\_________\ \|__| \|_______|\|__| |
| # \|_________| |
| # |
| # This is an allowlist of targets that use the deprecated `log` Rust library. |
| # Rust libraries should now be using `tracing`. |
| # |
| # Developers are encouraged to migrate to use the `tracing` library |
| # instead which brings structured logging support. |
| # |
| # The policy at this time is: |
| # 1. Pre-existing use of log in fuchsia.git is allowlisted. |
| # 2. Use of log in new libraries and binaries is strongly discouraged and only allowed |
| # under special circumstances under which the new library isn't covering the needs. |
| # |
| # To add items to the allowlist, please send a change to one of the OWNERS of |
| # this file to add an element to the visibility list below. |
| # Please allowlist entire directories rather than individual targets as it |
| # requires less allowlist churn over time. |
| |
| # Not intended to be restricted |
| "//third_party/*", |
| |
| # Can't be listed in more detail here (but should still be removed) |
| "//vendor/google/*", |
| |
| "//examples/components/services:*", |
| "//examples/diagnostics/logs/rust:*", |
| "//src/sys/run_test_component/test:*", |
| "//src/connectivity/bluetooth/core/bt-gap:*", |
| "//src/connectivity/bluetooth/lib/async-helpers:*", |
| "//src/connectivity/bluetooth/lib/bt-device-watcher:*", |
| "//src/connectivity/bluetooth/lib/fuchsia-audio-dai:*", |
| "//src/connectivity/bluetooth/lib/fuchsia-bluetooth:*", |
| "//src/connectivity/bluetooth/lib/vigil:*", |
| "//src/connectivity/bluetooth/profiles/tests/bt-a2dp-loopback:*", |
| "//src/connectivity/bluetooth/profiles/tests/bt-hfp-audio-gateway-integration-tests:*", |
| "//src/connectivity/bluetooth/profiles/tests/bt-rfcomm-integration-tests:*", |
| "//src/connectivity/bluetooth/testing/hci-emulator-client:*", |
| "//src/connectivity/bluetooth/tools/bt-avdtp-tool:*", |
| "//src/connectivity/bluetooth/tools/dai-info:*", |
| "//src/connectivity/lib/at-commands/codegen:*", |
| "//src/connectivity/lib/network-device/rust:*", |
| "//src/connectivity/lib/packet-formats:*", |
| "//src/connectivity/location/emergency:*", |
| "//src/connectivity/lowpan/drivers/lowpan-dummy-driver:*", |
| "//src/connectivity/lowpan/drivers/lowpan-ot-driver:*", |
| "//src/connectivity/lowpan/drivers/lowpan-spinel-driver:*", |
| "//src/connectivity/lowpan/lib/lowpan_driver_common:*", |
| "//src/connectivity/lowpan/lib/openthread_fuchsia:*", |
| "//src/connectivity/lowpan/lib/openthread_rust:*", |
| "//src/connectivity/lowpan/service:*", |
| "//src/connectivity/lowpan/tools/lowpanctl:*", |
| "//src/connectivity/network/net-cli:*", |
| "//src/connectivity/network/net-cli/ffx:*", |
| "//src/connectivity/network/net-cli/ffx:*", |
| "//src/connectivity/network/netstack3:*", |
| "//src/connectivity/network/netstack3/core:*", |
| "//src/connectivity/network/testing/netemul/configurable-netstack:*", |
| "//src/connectivity/network/testing/netemul/configurable-netstack/tests:*", |
| "//src/connectivity/network/testing/netemul/doc/runner-test:*", |
| "//src/connectivity/network/testing/netemul/runner:*", |
| "//src/connectivity/network/testing/network-test-realm/ffx:*", |
| "//src/connectivity/network/testing/network-test-realm/ffx:*", |
| "//src/connectivity/network/testing/network-test-realm/service:*", |
| "//src/connectivity/network/testing/network-test-realm/tests/unreliable-echo:*", |
| "//src/connectivity/overnet/examples/echo:*", |
| "//src/connectivity/overnet/lib/ascendd:*", |
| "//src/connectivity/overnet/lib/core:*", |
| "//src/connectivity/overnet/lib/hoist:*", |
| "//src/connectivity/overnet/lib/onet_tool:*", |
| "//src/connectivity/overnet/lib/quic:*", |
| "//src/connectivity/overnet/lib/serial_link:*", |
| "//src/connectivity/overnet/lib/stream_framer:*", |
| "//src/connectivity/overnet/lib/stream_link:*", |
| "//src/connectivity/overnet/lib/udp_link:*", |
| "//src/connectivity/overnet/overnetstack:*", |
| "//src/connectivity/overnet/tests/fidl:*", |
| "//src/connectivity/overnet/tests/integration:*", |
| "//src/connectivity/overnet/tools/ascendd:*", |
| "//src/connectivity/overnet/tools/debug-serial:*", |
| "//src/connectivity/telephony/ril-at:*", |
| "//src/connectivity/telephony/ril-qmi:*", |
| "//src/connectivity/telephony/telephony:*", |
| "//src/connectivity/telephony/tools/ril-ctl:*", |
| "//src/connectivity/wlan/lib/eapol:*", |
| "//src/connectivity/wlan/lib/mlme/rust:*", |
| "//src/connectivity/wlan/lib/mlme/rust/c-binding:*", |
| "//src/connectivity/wlan/lib/rsn:*", |
| "//src/connectivity/wlan/lib/sae:*", |
| "//src/connectivity/wlan/lib/sme:*", |
| "//src/connectivity/wlan/testing/hw-sim:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/connect_to_all_modern_bss_protections:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/connect_to_wpa1_network:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/connect_with_bad_password:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/connect_with_wrong_credential_type:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/handle_tx_event_hooks:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/multiple_clients_ap:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/rate_selection:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/reconnect_to_wpa2_network:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/sim_client_vs_sim_ap:*", |
| "//src/connectivity/wlan/testing/hw-sim/test/verify_wlan_inspect:*", |
| "//src/connectivity/wlan/wlancfg:*", |
| "//src/connectivity/wlan/wlandevicemonitor:*", |
| "//src/connectivity/wlan/wlanstack:*", |
| "//src/developer/fastboot:*", |
| "//src/developer/ffx:*", |
| "//src/developer/ffx/*", |
| "//src/developer/remote-control/runner:*", |
| "//src/devices/bin/driver_tools:*", |
| "//src/devices/bin/driver-index:*", |
| "//src/diagnostics/archivist:*", |
| "//src/diagnostics/archivist/tests/stress-test:*", |
| "//src/diagnostics/lib/triage:*", |
| "//src/diagnostics/triage:*", |
| "//src/fonts:*", |
| "//src/identity/bin/account_handler:*", |
| "//src/identity/bin/account_manager:*", |
| "//src/identity/bin/credential_manager:*", |
| "//src/identity/bin/dev_auth_provider:*", |
| "//src/identity/bin/dev_authenticator:*", |
| "//src/identity/bin/google_auth_provider:*", |
| "//src/identity/bin/password_authenticator:*", |
| "//src/identity/lib/account_common:*", |
| "//src/identity/lib/identity_common:*", |
| "//src/identity/lib/token_cache:*", |
| "//src/identity/lib/token_manager:*", |
| "//src/identity/lib/token_store:*", |
| "//src/identity/tests/account_manager_integration:*", |
| "//src/identity/tools/accountctl:*", |
| "//src/identity/tools/sktool:*", |
| "//src/lib/analytics/rust:*", |
| "//src/lib/assembly/zbi:*", |
| "//src/lib/cobalt/rust:*", |
| "//src/lib/fake-clock/examples/rust:*", |
| "//src/lib/fake-clock/svc:*", |
| "//src/lib/fidl/rust/fidl:*", |
| "//src/lib/fuchsia-component-test/tests:*", |
| "//src/lib/fuchsia-hyper:*", |
| "//src/lib/fuchsia:*", |
| "//src/lib/gcs:*", |
| "//src/lib/process_builder:*", |
| "//src/lib/storage/fs_management/rust:*", |
| "//src/lib/storage/storage_device:*", |
| "//src/lib/syslog/rust:*", |
| "//src/lib/test_diagnostics/rust:*", |
| "//src/lib/ui/flatland-frame-scheduling:*", |
| "//src/media/sessions:*", |
| "//src/media/sessions/examples:*", |
| "//src/media/sessions/mediasession_cli_tool:*", |
| "//src/media/stream_processors/test:*", |
| "//src/power/battery-manager:*", |
| "//src/power/power-manager:*", |
| "//src/power/temperature-logger:*", |
| "//src/proc/bin/starnix:*", |
| "//src/security/kms_test_client:*", |
| "//src/security/kms:*", |
| "//src/security/pkg_test/fshost:*", |
| "//src/security/scrutiny/framework:*", |
| "//src/security/scrutiny/frontend:*", |
| "//src/security/scrutiny/plugins:*", |
| "//src/security/scrutiny/utils:*", |
| "//src/settings/service:*", |
| "//src/storage/bin/odu:*", |
| "//src/storage/conformance/conformance_harness/rustvfs:*", |
| "//src/storage/ffx:*", |
| "//src/storage/fshost-rust:*", |
| "//src/storage/fxfs-crypt:*", |
| "//src/storage/fxfs:*", |
| "//src/storage/fxfs/tools:*", |
| "//src/storage/stress-tests/blobfs:*", |
| "//src/storage/stress-tests/fvm:*", |
| "//src/storage/stress-tests/genericfs:*", |
| "//src/storage/stress-tests/utils:*", |
| "//src/sys/base-resolver:*", |
| "//src/sys/base-resolver/tests/as-a-component-resolver:*", |
| "//src/sys/component_manager:*", |
| "//src/sys/component_manager/lib/logger:*", |
| "//src/sys/component_manager/lib/runner:*", |
| "//src/sys/component_manager/testing:*", |
| "//src/sys/component_manager/tests/binder:*", |
| "//src/sys/component_manager/tests/structured_config/client_integration/cpp_driver:*", |
| "//src/sys/core:*", |
| "//src/sys/fuzzing/manager:*", |
| "//src/sys/fuzzing/registry:*", |
| "//src/sys/lib/fidl-fuchsia-pkg-ext:*", |
| "//src/sys/lib/fuchsia-zbi:*", |
| "//src/sys/lib/legacy_component:*", |
| "//src/sys/lib/legacy_component/tests:*", |
| "//src/sys/lib/library_loader:*", |
| "//src/sys/lib/moniker:*", |
| "//src/sys/lib/routing:*", |
| "//src/sys/lib/runner:*", |
| "//src/sys/lib/stress-test:*", |
| "//src/sys/pkg/bin/omaha-client:*", |
| "//src/sys/pkg/lib/fidl-fuchsia-update-installer-ext:*", |
| "//src/sys/pkg/lib/isolated-swd:*", |
| "//src/sys/pkg/lib/omaha-client:*", |
| "//src/sys/pkg/lib/tuf:*", |
| "//src/sys/pkg/tests/system-updater:*", |
| "//src/sys/run_test_suite:*", |
| "//src/sys/test_manager:*", |
| "//src/sys/test_manager/debug_data:*", |
| "//src/sys/test_runners:*", |
| "//src/sys/test_runners/elf:*", |
| "//src/sys/test_runners/gotests:*", |
| "//src/sys/test_runners/gtest:*", |
| "//src/sys/test_runners/inspect:*", |
| "//src/sys/test_runners/lib_loader_cache:*", |
| "//src/sys/test_runners/rust:*", |
| "//src/sys/test_runners/stress_test:*", |
| "//src/sys/test_runners/stress_test/tests/test_data/always_fail:*", |
| "//src/sys/test_runners/stress_test/tests/test_data/always_pass:*", |
| "//src/sys/test_runners/stress_test/tests/test_data/echo:*", |
| "//src/sys/test_runners/stress_test/tests/test_data/timeout:*", |
| "//src/sys/time/httpsdate_time_source:*", |
| "//src/sys/time/lib/httpdate-hyper:*", |
| "//src/sys/time/lib/push-source:*", |
| "//src/sys/time/time_test_client:*", |
| "//src/sys/time/timekeeper_integration:*", |
| "//src/sys/time/timekeeper_integration/dev_time_source:*", |
| "//src/sys/time/timekeeper:*", |
| "//src/sys/universe-resolver:*", |
| "//src/testing/metrics-logger:*", |
| "//src/testing/sl4f:*", |
| "//src/testing/sl4f/proxy:*", |
| "//src/ui/bin/terminal:*", |
| "//src/ui/examples/flatland-display:*", |
| "//src/ui/examples/flatland-view-provider:*", |
| "//src/ui/input/text/text-edit-controller:*", |
| "//src/ui/input/text/text-edit-model:*", |
| "//src/ui/tests/scenic-stress-tests:*", |
| "//src/ui/tools/tiles/flatland:*", |
| "//src/virtualization/bin/guest:*", |
| "//tools/blackout:*", |
| "//tools/blackout/blackout-host/ffx:*", |
| "//tools/blackout/blackout-integration:*", |
| "//tools/blackout/blackout-target:*", |
| "//tools/blackout/blobfs-checkerboard:*", |
| "//tools/blackout/minfs-tree:*", |
| "//tools/clidoc:*", |
| "//tools/fidl/fidldoc:*", |
| "//tools/fvdl/common:*", |
| "//tools/lib/cm_fidl_analyzer:*", |
| "//tools/pretty_serial:*", |
| ] |