# `memory_units`

[![Build Status](https://travis-ci.org/pepyakin/memory_units.svg?branch=master)](https://travis-ci.org/pepyakin/memory_units)
[![](https://docs.rs/memory_units/badge.svg)](https://docs.rs/memory_units/)
[![](https://img.shields.io/crates/v/memory_units.svg)](https://crates.io/crates/memory_units)

Crate for safe conversion between units of memory (extracted from [wee_alloc](https://github.com/fitzgen/wee_alloc)).

# License

Licensed under the [Mozilla Public License 2.0](https://www.mozilla.org/en-US/MPL/2.0/).

[TL;DR?](https://choosealicense.com/licenses/mpl-2.0/)

> Permissions of this weak copyleft license are conditioned on making available
> source code of licensed files and modifications of those files under the same
> license (or in certain cases, one of the GNU licenses). Copyright and license
> notices must be preserved. Contributors provide an express grant of patent
> rights. However, a larger work using the licensed work may be distributed
> under different terms and without source code for files added in the larger
> work.

## Contribution

See
[CONTRIBUTING.md](https://github.com/pepyakin/memory_units/blob/master/CONTRIBUTING.md)
for hacking!
