[package]
name = "datui-lib"
version = "0.2.48"
edition = "2021"
description = "Data Exploration in the Terminal (library)"
authors = ["Derek Wisong"]
homepage = "https://derekwisong.github.io/datui"
repository = "https://github.com/derekwisong/datui"
license = "MIT"
readme = "README.md"
keywords = ["cli", "tui", "data", "utility", "analysis"]
categories = ["command-line-utilities", "science"]
[lib]
path = "src/lib.rs"
[features]
default = ["cloud", "http", "sql", "streaming"]
cloud = ["polars/aws", "polars/gcp", "dep:object_store", "dep:tokio"]
http = ["dep:ureq"]
sql = ["polars/sql", "dep:polars-sql"]
streaming = ["polars/new_streaming"]
[dependencies]
datui-cli = { path = "../datui-cli", version = "0.2.48" }
clap = { version = "4.5.54", features = ["derive"] }
color-eyre = "0.6.5"
crossterm = "0.29.0"
dirs = "5.0"
fs2 = "0.4"
ratatui = { version = "0.29.0", features = ["all-widgets"] }
regex = "1.10"
chrono = "0.4"
tui-textarea = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
supports-color = "3.0"
toml = "0.8"
bzip2 = "0.4"
xz2 = "0.1"
flate2 = "1.0"
zstd = "0.13"
plotters = "0.3"
calamine = { version = "0.32", features = ["chrono"] }
orc-rust = "0.7"
arrow = "57"
tempfile = "3.14"
ureq = { version = "2.11", optional = true }
object_store = { version = "0.12", optional = true, default-features = false, features = ["aws", "gcp"] }
tokio = { version = "1", optional = true, features = ["rt", "io-util"] }
polars-sql = { version = "0.52", optional = true }
[dependencies.polars]
version = "0.52"
default-features = false
features = [
"avro",
"csv",
"decompress",
"dtype-datetime",
"dtype-time",
"dtype-duration",
"ipc",
"json",
"lazy",
"parquet",
"polars-io",
"pivot",
"temporal",
"timezones",
"month_start",
"month_end",
"coalesce",
"regex",
"abs",
"round_series",
"strings",
]
[dependencies.polars-parquet]
version = "0.52"
default-features = false
[dev-dependencies]
tempfile = "3.8"