Current section
Files
Jump to
Current section
Files
native/explorer/Cargo.toml
[package]
name = "explorer"
# We don't use versioning in the in this crate.
# Please check the `mix.exs` file at the root of this project for the current version.
version = "0.1.0"
authors = []
edition = "2021"
[lib]
name = "explorer"
path = "src/lib.rs"
crate-type = ["cdylib"]
[dependencies]
anyhow = "1"
chrono = "0.4"
rand = { version = "0.8", features = ["alloc"] }
rand_pcg = "0.3"
rustler = { version = "0.29", default-features = false, features = ["derive"] }
thiserror = "1"
smartstring = "1"
# Deps necessary for cloud features.
tokio = { version = "1.29", default-features = false, features = ["rt"], optional = true }
tokio-util = { version = "0.7", default-features = false, features = ["io", "io-util"], optional = true }
object_store = { version = "0.6", default-features = false, optional = true }
# MiMalloc won´t compile on Windows with the GCC compiler.
# On Linux with Musl it won´t load correctly.
[target.'cfg(not(any(all(windows, target_env = "gnu"), all(target_os = "linux", target_env = "musl"))))'.dependencies]
mimalloc = { version = "*", default-features = false }
[dependencies.polars]
version = "0.32"
default-features = false
features = [
"checked_arithmetic",
"concat_str",
"cross_join",
"cum_agg",
"cutqcut",
"csv",
"decompress-fast",
"describe",
"dtype-date",
"dtype-time",
"dtype-datetime",
"dtype-categorical",
"ipc",
"ipc_streaming",
"lazy",
"lazy_regex",
"log",
"parquet",
"performant",
"pivot",
"random",
"rolling_window",
"rows",
"simd",
"sort_multiple",
"temporal",
"to_dummies",
"trigonometry",
"is_in",
"streaming",
"strings",
"round_series",
"ewma",
"product",
"moment",
"rank"
]
[dependencies.polars-ops]
version = "0.32"
[dependencies.polars-algo]
version = "0.32"
[features]
default = ["ndjson", "cloud", "nif_version_2_15"]
cloud = ["object_store", "tokio", "tokio-util", "aws"]
ndjson = ["polars/json"]
aws = ["polars/async", "polars/aws"]
# Feature necessary for Rustler Precompiled.
nif_version_2_15 = ["rustler/nif_version_2_15"]