human-memsize 0.1.0

Human-readable formatting for memory sizes
Documentation
# 💾 human-memsize

> **Make your byte sizes human-friendly.**
> Because `1045678` looks scary, but `1 MiB` feels just right.

[![License: MIT](https://img.shields.io/badge/license-MIT-orange.svg?style=for-the-badge)](LICENSE)

---

## ✨ Features

- 🧩 **Binary units** — Uses `KiB`, `MiB`, `GiB`, `TiB`
- 🎯 **Smart formatting**:
  - Shows **bytes** up to 2 KiB for clarity.
  - Uses **no decimals** for exact numbers → `2 MiB`, not `2.0 MiB`.
  - Uses **one decimal** when needed → `1.5 MiB`.

---

## 🛠️ Usage

Add to your `Cargo.toml`:

```toml
[dependencies]
human-memsize = "0.1"
```

---

_Copyright 2025 Peter Bjorklund. All rights reserved._