Registry / utility / streaming-stats

streaming-stats

JSON →
library0.2.3rscratesunverified

Experimental crate for computing basic statistics on streams, such as mean, variance, and min/max.

# Cargo.toml [dependencies] streaming-stats = "0.2.3"
INSTALL
IMPORT
SIG · STREAMING-STATS
S
streaming-stats
utilityrustv0.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OnlineStats
✓ use streaming_stats::OnlineStats;

Computes streaming mean of three numbers.

use streaming_stats::OnlineStats; fn main() { let mut stats = OnlineStats::new(); stats.add(1.0); stats.add(2.0); stats.add(3.0); println!("Mean: {}", stats.mean()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
streaming-stats — cargo add streaming-stats · libregistry