-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (33 loc) · 986 Bytes
/
Cargo.toml
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
39
[package]
name = "polars-candle"
version = "0.1.9"
edition = "2021"
authors = ["Wouter Doppenberg <wouterdoppenberg@gmail.com>"]
description = "A text embedding extension for the Polars Dataframe library."
keywords = ["polars", "dataframe", "embedding", "nlp", "candle"]
license = "Apache-2.0"
[lib]
name = "polars_candle"
crate-type = ["cdylib"]
[dependencies]
anyhow = "1.0.79"
glowrs = "0.4.1"
chrono = "0.4.35"
ndarray = "0.15.6"
polars = { version = "0.39.2", features = ["lazy", "dtype-array", "dtype-categorical", "ndarray", "log"] }
pyo3 = { version = "0.21.2", features = ["extension-module"] }
pyo3-polars = { version = "0.13.0", features = ["derive"] }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
thiserror = "1.0.56"
tracing = "0.1.40"
candle-core = "0.4.1"
[features]
default = []
metal = ["glowrs/metal"]
accelerate = ["glowrs/accelerate"]
cuda = ["glowrs/cuda"]
[profile.release]
codegen-units = 1
strip = "debuginfo"
lto = "thin"