Cargo Features

polars-time has no features set by default.

[dependencies]
polars-time = { version = "0.39.2", features = ["dtype-date", "dtype-datetime", "dtype-time", "dtype-duration", "rolling_window", "fmt", "serde", "temporal", "timezones", "test"] }
dtype-date test? = temporal

Enables polars-core

polars-core:

opt-in datatypes for Series

Affects string::StringMethods.as_date_not_exact, string::StringMethods.as_date

dtype-datetime test? timezones? = temporal

Enables polars-core

Affects string::StringMethods.as_datetime_not_exact, string::StringMethods.as_datetime

dtype-time = temporal

Enables polars-core

Affects string::StringMethods.as_time

dtype-duration rolling_window? = temporal

Enables polars-core

rolling_window = dtype-duration

Enables rolling_window of polars-core

polars-core:

rolling window functions

Affects dispatch::SeriesOpsTime.rolling_mean, dispatch::SeriesOpsTime.rolling_sum, dispatch::SeriesOpsTime.rolling_quantile, dispatch::SeriesOpsTime.rolling_min, dispatch::SeriesOpsTime.rolling_max, dispatch::SeriesOpsTime.rolling_var, dispatch::SeriesOpsTime.rolling_std

fmt

Enables fmt of polars-core

serde

Enables serde, serde of smartstring

temporal dtype-date? dtype-datetime? dtype-duration? dtype-time?

Enables temporal of polars-core

Affects series::TemporalMethods.timestamp

timezones = chrono-tz, dtype-datetime

Enables timezones of polars-arrow, polars-core, and polars-ops

polars-arrow:

polars-arrow

Affects base_utc_offset::base_utc_offset, dst_offset::dst_offset

test = dtype-date, dtype-datetime

Enables fmt of polars-core

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

chrono-tz timezones?

Enables chrono-tz ^0.8.1