-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (35 loc) · 1.05 KB
/
Copy pathCargo.toml
File metadata and controls
38 lines (35 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "pl_row_encode"
version = "0.3.1"
edition = "2021"
[lib]
name = "pl_row_encode"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.27", features = ["extension-module", "abi3-py39"] }
pyo3-polars = { version = "0.26", features = ["derive"] }
polars = { version = "0.53", default-features = false }
# The small-integer dtypes are opt-in cargo features in polars-core. Without them, a
# column of those types coming across the plugin FFI from (fully-featured) Python polars
# can't be reconstructed -- `Series::try_from` hits the catch-all and bails with
# "cannot create series from Int8". Enable them so encode/decode covers every int width.
polars-core = { version = "0.53", features = [
"dtype-struct",
"dtype-i8",
"dtype-i16",
"dtype-u8",
"dtype-u16",
"dtype-i128",
"dtype-decimal",
"dtype-categorical",
"dtype-array",
"serde",
] }
polars-row = "0.53"
polars-arrow = "0.53"
serde = { version = "1", features = ["derive"] }
serde_bytes = "0.11"
bincode = "1"
[profile.release]
opt-level = 3
strip = true