Skip to content

Commit

Permalink
Add sentence to summary
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Sep 21, 2023
1 parent 56ce3f6 commit 97fedeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "allocation-counter"
version = "0.8.0"
version = "0.8.1"
authors = ["Fredrik Fornwall <fredrik@fornwall.net>"]
categories = ["development-tools", "memory-management"]
description = "Count the number of memory allocation of some code."
Expand Down
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
/*!
This crate provides a method to measure memory allocations while running some code.
It can be used either exploratory (obtaining insights in how much memory allocations
are being made), or as a tool to assert desired allocation behaviour in tests.
# Usage
Add as a dependency - since including the trait replaces the global memory allocator, you most likely want it gated behind a feature.
Add as a dependency - since including the trait replaces the global memory allocator,
you most likely want it gated behind a feature.
```toml
[features]
Expand Down

0 comments on commit 97fedeb

Please sign in to comment.