TemporalSeries

TemporalSeries is a Rust library for quantitative time-series analysis. It is published as the temporalseries crate under the MIT license.

Data structures

Analytics

Design notes

Fallible operations return a Result with a typed error instead of panicking. Positions that can’t produce a value are filled with NaN rather than truncated, so the output keeps the input’s length and stays aligned with the index. Timestamps are always stored as i64, and an optional chrono feature converts to and from DateTime values with a configurable time unit.

The library is benchmarked with Criterion, and its tests and coverage run in CI.

Related