nbytes

Crates.ionbytes
lib.rsnbytes
version0.1.0
sourcesrc
created_at2020-08-19 19:56:31.502774
updated_at2020-08-19 19:56:31.502774
descriptionRust compile-time evaluation of byte unit conversions
homepagehttps://github.com/enarx/nbytes
repositoryhttps://github.com/enarx/nbytes
max_upload_size
id278378
size19,542
owners (github:enarx:owners)

documentation

README

Workflow Status Average time to resolve an issue Percentage of issues still open Maintenance

nbytes

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

Commit count: 13

cargo fmt