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.
45//! Next-generation FIDL Rust bindings library.
67#![deny(
8 future_incompatible,
9 missing_docs,
10 nonstandard_style,
11 unused,
12 warnings,
13 clippy::all,
14 clippy::alloc_instead_of_core,
15 clippy::missing_safety_doc,
16 clippy::std_instead_of_core,
17// TODO: re-enable this lint after justifying unsafe blocks
18 // clippy::undocumented_unsafe_blocks,
19rustdoc::broken_intra_doc_links,
20 rustdoc::missing_crate_level_docs
21)]
22#![forbid(unsafe_op_in_unsafe_fn)]
2324#[cfg(test)]
25#[macro_use]
26mod testing;
2728mod chunk;
29mod decode;
30pub mod decoder;
31mod encode;
32pub mod encoder;
33#[cfg(target_os = "fuchsia")]
34pub mod fuchsia;
35mod owned;
36mod primitives;
37mod slot;
38mod take;
39mod wire;
4041pub use bitflags::bitflags;
42pub use munge::munge;
4344pub use self::chunk::*;
45pub use self::decode::*;
46pub use self::decoder::{Decoder, DecoderExt};
47pub use self::encode::*;
48pub use self::encoder::{Encoder, EncoderExt};
49pub use self::owned::*;
50pub use self::primitives::*;
51pub use self::slot::*;
52pub use self::take::*;
53pub use self::wire::*;