Skip to content

Commit 0321d50

Browse files
committed
framework_lib: Re-export Platform for public use
util is a private module for implementation details. It does not need to be exported. But Platform is in there to avoid cyclic dependencies. Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 65efc9b commit 0321d50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

framework_lib/src/smbios.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ use std::prelude::v1::*;
55
#[cfg(all(not(feature = "uefi"), not(target_os = "freebsd")))]
66
use std::io::ErrorKind;
77

8-
use crate::util::{Config, Platform};
8+
use crate::util::Config;
9+
pub use crate::util::Platform;
910
use num_derive::FromPrimitive;
1011
use smbioslib::*;
1112
#[cfg(feature = "uefi")]

0 commit comments

Comments
 (0)