Cargo Features

MemoryStats has no features set by default.

[dependencies]
memory-stats = { version = "1.2.0", features = ["always_use_statm", "serde"] }
always_use_statm

Always use the faster but less accurate /proc/self/statm statistics on Linux.

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework