fidl_next_bind/
lib.rs

1// Copyright 2024 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//! Typed wrappers for FIDL bindings.
6//!
7//! This crate wraps a number of "untyped" items to add more type safety, and provides some basic
8//! [utility methods for use on Fuchsia](fuchsia).
9
10#![deny(
11    future_incompatible,
12    missing_docs,
13    nonstandard_style,
14    unused,
15    warnings,
16    clippy::all,
17    clippy::alloc_instead_of_core,
18    clippy::missing_safety_doc,
19    clippy::std_instead_of_core,
20    // TODO: re-enable this lint after justifying unsafe blocks
21    // clippy::undocumented_unsafe_blocks,
22    rustdoc::broken_intra_doc_links,
23    rustdoc::missing_crate_level_docs
24)]
25#![forbid(unsafe_op_in_unsafe_fn)]
26
27mod client;
28#[cfg(feature = "compat")]
29mod compat;
30mod decoded;
31mod endpoint;
32mod error;
33#[cfg(feature = "fuchsia")]
34pub mod fuchsia;
35mod protocol;
36mod server;
37mod service;
38
39pub use self::client::*;
40#[cfg(feature = "compat")]
41// This module only has one item exported when the "fuchsia" feature is also on.
42#[allow(unused)]
43pub use self::compat::*;
44pub use self::decoded::*;
45pub use self::endpoint::*;
46pub use self::error::*;
47pub use self::protocol::*;
48pub use self::server::*;
49pub use self::service::*;