Cargo Features

polars-time has no features set by default.

[dependencies]
polars-time = { version = "0.45.1", features = ["dtype-i8", "dtype-i16", "dtype-u8", "dtype-u16", "dtype-date", "dtype-datetime", "dtype-time", "dtype-duration", "month_start", "month_end", "offset_by", "rolling_window", "rolling_window_by", "fmt", "serde", "temporal", "timezones", "test"] }
dtype-i8

Enables dtype-i8 of polars-core

dtype-i16

Enables dtype-i16 of polars-core

dtype-u8

Enables dtype-u8 of polars-core

dtype-u16

Enables dtype-u16 of polars-core

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_by? = temporal

Enables polars-core

month_start month_end?
month_end = month_start
offset_by
rolling_window

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

rolling_window_by = dtype-duration

Enables rolling_window_by of polars-core

Affects dispatch::SeriesOpsTime.rolling_mean_by, dispatch::SeriesOpsTime.rolling_sum_by, dispatch::SeriesOpsTime.rolling_quantile_by, dispatch::SeriesOpsTime.rolling_min_by, dispatch::SeriesOpsTime.rolling_max_by, dispatch::SeriesOpsTime.rolling_var_by, dispatch::SeriesOpsTime.rolling_std_by

fmt

Enables fmt of polars-core

serde

Enables serde, serde of polars-utils

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?