| Crates.io | nbytes |
| lib.rs | nbytes |
| version | 0.1.0 |
| created_at | 2020-08-19 19:56:31.502774+00 |
| updated_at | 2020-08-19 19:56:31.502774+00 |
| description | Rust compile-time evaluation of byte unit conversions |
| homepage | https://github.com/enarx/nbytes |
| repository | https://github.com/enarx/nbytes |
| max_upload_size | |
| id | 278378 |
| size | 19,542 |
Welcome to nbytes!
The nbytes crate exists to provide compile-time evaluation of various
unit conversions to bytes. For example:
use nbytes::bytes;
assert_eq!(bytes![2; KiB], 2048);
assert_eq!(bytes![2; kB], 2000);
License: Apache-2.0