We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c350dc commit db1c936Copy full SHA for db1c936
prost-types/src/lib.rs
@@ -11,19 +11,20 @@
11
12
#![cfg_attr(not(feature = "std"), no_std)]
13
14
+#[rustfmt::skip]
15
+mod compiler;
16
+mod datetime;
17
18
+mod protobuf;
19
+
20
use core::convert::TryFrom;
21
use core::fmt;
22
use core::i32;
23
use core::i64;
24
use core::str::FromStr;
25
use core::time;
26
-include!("protobuf.rs");
-pub mod compiler {
- include!("compiler.rs");
-}
-
-mod datetime;
27
+pub use protobuf::*;
28
29
// The Protobuf `Duration` and `Timestamp` types can't delegate to the standard library equivalents
30
// because the Protobuf versions are signed. To make them easier to work with, `From` conversions
0 commit comments