Docs.rs
rate-common-0.3.0
rate-common 0.3.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
krobelus
Dependencies
atty ^0.2
normal
bzip2 ^0.3
normal
derive_more ^0.99
normal
flate2 ^1.0
normal
libc ^0.2
normal
lz4 ^1.23
normal
rate-macros ^0.3.0
normal
scopeguard ^1.0
normal
serde ^1.0
normal
serde_derive ^1.0
normal
static_assertions ^1.1
normal
toml ^0.5
normal
xz2 ^0.1
normal
zstd ^0.5
normal
Versions
87.05%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rate_
common
0.3.0
In rate_
common::
memory
rate_common
::
memory
Function
format_memory_usage
Copy item path
Source
pub fn format_memory_usage(bytes:
usize
) ->
String
Expand description
Convert bytes to megabytes for readability.