-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
37 lines (32 loc) · 1.28 KB
/
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
[package]
name = "myval"
version = "0.1.22"
edition = "2021"
authors = ["Serhij S. <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/alttch/myval"
description = "Lightweight Apache Arrow data frame"
readme = "README.md"
keywords = ["arrow", "dataframe", "database", "convert"]
[package.metadata.docs.rs]
features = ["full"]
[package.metadata.playground]
features = ["full"]
[dependencies]
arrow2 = { version = "0.17.0", features = ["io_ipc", "compute_concatenate"], optional = true }
arrow2_ih = { version = "0.17.0", package = "arrow2", git = "https://github.com/divi255/arrow2", features = ["io_ipc", "compute_concatenate"], optional = true }
async-stream = { version = "0.3.5", optional = true }
chrono = "0.4.24"
futures = { version = "0.3.28", optional = true }
polars = { version = "0.28.0", optional = true }
serde = { version = "1.0.160", features = ["derive"], optional = true }
serde_json = { version = "1.0.96", optional = true }
sqlx = { version = "0.6.3", features = ["chrono", "postgres", "runtime-tokio-native-tls"], optional = true }
[lib]
name = "myval"
path = "src/lib.rs"
[features]
default = ["arrow2"]
json = ["serde_json", "serde"]
postgres = ["sqlx", "serde_json", "serde", "async-stream", "futures"]
full = ["default", "postgres", "polars", "json"]