netstack3_fuchsia/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2024 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.

//! The `netstack3_fuchsia` crate encapsulates Fuchsia-specific functionality
//! that is more generic than what would normally go in Bindings. This allows it
//! to be used from, for example, Core unit tests.

#![deny(missing_docs, unreachable_patterns, clippy::useless_conversion, clippy::redundant_clone)]

mod inspect;

pub use inspect::{FuchsiaInspector, InspectorDeviceIdProvider};

/// Test utilities provided to all users of the crate.
#[cfg(any(test, feature = "testutils"))]
pub mod testutils {
    pub use crate::inspect::testutils::{assert_data_tree, Inspector};
}