quick_protobuf/
lib.rs

1//! A library to read binary protobuf files
2//!
3//! This reader is developed similarly to a pull reader
4
5#![deny(missing_docs)]
6#![allow(dead_code)]
7#![cfg_attr(not(feature = "std"), no_std)]
8
9pub mod errors;
10pub mod message;
11pub mod reader;
12pub mod sizeofs;
13pub mod writer;
14
15pub use crate::errors::{Error, Result};
16pub use crate::message::{MessageInfo, MessageRead, MessageWrite};
17pub use crate::reader::{deserialize_from_slice, BytesReader};
18pub use crate::writer::{serialize_into_slice, BytesWriter, Writer, WriterBackend};
19
20#[cfg(feature = "std")]
21pub use crate::reader::Reader;
22#[cfg(feature = "std")]
23pub use crate::writer::serialize_into_vec;