gin_tonic_core/
lib.rs

1//! The gin-tonic-core library handles protobuf encode and decoding
2mod decoder;
3mod encoder;
4pub mod macros;
5mod tag;
6#[cfg(test)]
7mod tests;
8pub mod types;
9
10pub use decoder::{Decode, DecodeError};
11pub use encoder::{Encode, SizeHint};
12pub use tag::Tag;
13
14pub const WIRE_TYPE_VARINT: u8 = 0;
15pub const WIRE_TYPE_I64: u8 = 1;
16pub const WIRE_TYPE_LENGTH_ENCODED: u8 = 2;
17pub const WIRE_TYPE_I32: u8 = 5;