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;
33mod executor;
34#[cfg(feature = "fuchsia")]
35pub mod fuchsia;
36#[cfg(feature = "fasync")]
37pub mod fuchsia_async;
38mod future;
39mod protocol;
40mod server;
41mod service;
42
43pub use self::client::*;
44#[cfg(feature = "compat")]
45// This module only has one item exported when the "fuchsia" feature is also on.
46#[allow(unused)]
47pub use self::compat::*;
48pub use self::decoded::*;
49pub use self::endpoint::*;
50pub use self::error::*;
51pub use self::executor::*;
52pub use self::future::*;
53pub use self::protocol::*;
54pub use self::server::*;
55pub use self::service::*;