Skip to content

Commit c3a01bb

Browse files
committed
Add a prelude and edit README.
1 parent 5690242 commit c3a01bb

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
This is a library for tracking memory usage in [Bevy] apps.
44

5-
[Bevy]: https://lib.rs/bevy
5+
It is based on the [`datasize`] crate.
6+
7+
[Bevy]: https://lib.rs/bevy
8+
[`datasize`]: https://lib.rs/datasize

src/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ pub use config::MemoryConfig;
1515
pub use plugin::MemoryUsagePlugin;
1616
pub use resource::MemoryUsage;
1717
pub use stats::MemoryStats;
18+
19+
#[allow(missing_docs)]
20+
pub mod prelude {
21+
pub use crate::{MemoryConfig, MemoryUsage, MemoryUsagePlugin, RegisterSizedTypes};
22+
}

0 commit comments

Comments
 (0)