• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2024 Google LLC.  All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 
8 //! Prelude for the Protobuf Rust API.
9 //! This module contains only non-struct items that are needed for extremely
10 //! common usages of the generated types from application code. Any struct
11 //! or less common items should be imported normally.
12 
13 pub use crate::{
14     proto, AsMut, AsView, Clear, ClearAndParse, IntoMut, IntoView, MergeFrom, Message, MessageMut,
15     MessageView, Parse, Serialize,
16 };
17