Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-time/Cargo.toml
6939 views
1
[package]
2
name = "polars-time"
3
version = { workspace = true }
4
authors = { workspace = true }
5
edition = { workspace = true }
6
homepage = { workspace = true }
7
license = { workspace = true }
8
repository = { workspace = true }
9
description = "Time related code for the Polars DataFrame library"
10
11
[dependencies]
12
arrow = { workspace = true, features = ["compute", "temporal"] }
13
polars-compute = { workspace = true }
14
polars-core = { workspace = true, features = ["dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] }
15
polars-error = { workspace = true }
16
polars-ops = { workspace = true }
17
polars-utils = { workspace = true }
18
19
atoi_simd = { workspace = true }
20
bytemuck = { workspace = true }
21
chrono = { workspace = true }
22
chrono-tz = { workspace = true, optional = true }
23
now = { version = "0.1" }
24
num-traits = { workspace = true }
25
rayon = { workspace = true }
26
regex = { workspace = true }
27
schemars = { workspace = true, optional = true }
28
serde = { workspace = true, optional = true }
29
strum_macros = { workspace = true }
30
31
[dev-dependencies]
32
polars-ops = { workspace = true, features = ["abs"] }
33
34
[features]
35
dtype-i8 = ["polars-core/dtype-i8"]
36
dtype-i16 = ["polars-core/dtype-i16"]
37
dtype-u8 = ["polars-core/dtype-u8"]
38
dtype-u16 = ["polars-core/dtype-u16"]
39
dtype-i128 = ["polars-core/dtype-i128"]
40
dtype-date = ["polars-core/dtype-date", "temporal"]
41
dtype-datetime = ["polars-core/dtype-datetime", "temporal"]
42
dtype-time = ["polars-core/dtype-time", "temporal"]
43
dtype-duration = ["polars-core/dtype-duration", "temporal"]
44
month_start = []
45
month_end = ["month_start"]
46
offset_by = []
47
rolling_window = ["polars-core/rolling_window"]
48
rolling_window_by = ["polars-core/rolling_window_by", "dtype-duration"]
49
fmt = ["polars-core/fmt"]
50
serde = ["dep:serde", "polars-utils/serde", "polars-compute/serde"]
51
dsl-schema = ["dep:schemars", "polars-utils/dsl-schema", "polars-compute/dsl-schema"]
52
temporal = ["polars-core/temporal"]
53
timezones = ["chrono-tz", "dtype-datetime", "polars-core/timezones", "arrow/timezones", "polars-ops/timezones"]
54
55
test = ["dtype-date", "dtype-datetime", "polars-core/fmt"]
56
allow_unused = []
57
58
default = []
59
60
[lints]
61
workspace = true
62
63