wlancfg_lib/
lib.rs

1// Copyright 2021 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// The complexity of a separate struct doesn't seem universally better than having many arguments
6#![allow(clippy::too_many_arguments)]
7// The readability of redundant closures is preferred over the small compiler optimization.
8#![allow(clippy::redundant_closure)]
9// Turn on additional lints that could lead to unexpected crashes in production code
10#![warn(clippy::indexing_slicing)]
11#![cfg_attr(test, allow(clippy::indexing_slicing))]
12#![warn(clippy::unwrap_used)]
13#![cfg_attr(test, allow(clippy::unwrap_used))]
14#![warn(clippy::expect_used)]
15#![cfg_attr(test, allow(clippy::expect_used))]
16#![warn(clippy::unreachable)]
17#![cfg_attr(test, allow(clippy::unreachable))]
18#![warn(clippy::unimplemented)]
19#![cfg_attr(test, allow(clippy::unimplemented))]
20
21pub mod access_point;
22pub mod client;
23pub mod config_management;
24pub mod legacy;
25pub mod mode_management;
26pub mod regulatory_manager;
27pub mod telemetry;
28#[cfg(test)]
29mod tests;
30pub mod util;