diff options
Diffstat (limited to 'protos/src/lib.rs')
-rw-r--r-- | protos/src/lib.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/protos/src/lib.rs b/protos/src/lib.rs index 5381935..3fdbdc0 100644 --- a/protos/src/lib.rs +++ b/protos/src/lib.rs @@ -2,4 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -include!(concat!(env!("OUT_DIR"), "/protos.rs")); +mod generated { + include!(concat!(env!("OUT_DIR"), "/generated.rs")); +} + +#[cfg(feature = "plugin")] +pub mod plugin; + +#[cfg(feature = "trunks")] +pub use generated::trunks; |