Skip to content

Commit 9935164

Browse files
committed
Add prelude module to export common types
1 parent b9e8078 commit 9935164

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ extern crate serde_json;
2424
pub mod command;
2525
pub mod errors;
2626
pub mod host;
27+
pub mod prelude {
28+
pub use command::Command;
29+
pub use host::Host;
30+
pub use telemetry::{Cpu, FsMount, Os, OsFamily, OsPlatform, Telemetry};
31+
}
2732
mod target;
2833
pub mod telemetry;
2934

0 commit comments

Comments
 (0)