fidl_next_codec/
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//! Next-generation FIDL Rust bindings library.
6
7#![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,
19    rustdoc::broken_intra_doc_links,
20    rustdoc::missing_crate_level_docs
21)]
22#![forbid(unsafe_op_in_unsafe_fn)]
23
24#[cfg(test)]
25#[macro_use]
26mod testing;
27
28mod 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;
40
41pub use bitflags::bitflags;
42pub use munge::munge;
43
44pub 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::*;