| # 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/*", |
| |
| # Can't be migrated. This is a test using //third_party sources. |
| "//src/sys/pkg/lib/tuf:*", |
| |
| "//src/connectivity/bluetooth/core/bt-gap:*", |
| "//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/lib/at-commands/codegen:*", |
| "//src/connectivity/lib/packet-formats:*", |
| "//src/connectivity/location/emergency:*", |
| "//src/connectivity/lowpan/drivers/lowpan-ot-driver:*", |
| "//src/connectivity/lowpan/lib/lowpan_driver_common:*", |
| "//src/connectivity/lowpan/lib/openthread_fuchsia:*", |
| "//src/connectivity/lowpan/lib/openthread_rust:*", |
| "//src/connectivity/network/net-cli:*", |
| "//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/service:*", |
| "//src/connectivity/network/testing/network-test-realm/tests/unreliable-echo:*", |
| "//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/wlancfg:*", |
| "//src/connectivity/wlan/wlandevicemonitor:*", |
| "//src/connectivity/wlan/wlanstack:*", |
| "//src/devices/bin/driver_tools:*", |
| "//src/devices/bin/driver-index:*", |
| "//src/lib/syslog/rust:*", |
| "//src/media/stream_processors/test:*", |
| "//src/power/power-manager:*", |
| "//src/settings/service:*", |
| "//src/settings/storage:*", |
| "//src/sys/pkg/lib/fidl-fuchsia-update-installer-ext:*", |
| ] |