Skip to content

Commit

Permalink
Reexport deviceinfo bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Schwender <[email protected]>
  • Loading branch information
jschwe committed Aug 29, 2024
1 parent 1d9c887 commit 764a53c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
)]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "deviceinfo")]
#[cfg_attr(docsrs, doc(cfg(feature = "deviceinfo")))]
pub mod deviceinfo {
pub use ohos_deviceinfo_sys::*;
}

#[cfg(feature = "drawing")]
#[cfg_attr(docsrs, doc(cfg(feature = "drawing")))]
pub mod drawing {
Expand Down

0 comments on commit 764a53c

Please sign in to comment.