Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/kleene

crates/kleene-ballista/Cargo.toml

[package]
name = "kleene-ballista"
description = "kleene over machines: its operators on Ballista (lane kd's fork), a part's graph kept on its executor, border nodes as Arrow batches through the Flight shuffle"
version = "0.2.0"
edition = "2024"
rust-version = "1.95"
license = "MIT OR Apache-2.0"
authors = ["Ignalina ApS (Rickard Ernst Björn Lundin)"]
repository = "https://git.gunnar.rs/nordisk/kleene"
# Depends on the Ballista fork by git: not publishable while it does.
publish = false
readme = "README.md"

# Its own workspace (kleene's root lists it under `exclude`): optional, never in kleene's
# default build or `cargo test --workspace`, so a lane that does not touch it does not build
# Ballista. Transport only: the rounds, kernels, split and central index are the core's.
[workspace]

[dependencies]
arrow-array = { version = "60.2", default-features = false }
arrow-schema = { version = "60.2", default-features = false }
datafusion = { version = "56", default-features = false, features = ["sql"] }
datafusion-proto = "56"
futures = { version = "0.3", default-features = false, features = ["std"] }
kleene-gar = { path = "../kleene-gar" }
kleene-graph = { path = "../kleene-graph" }
kleene-index = { path = "../kleene-index" }
kleene-sparse = { path = "../kleene-sparse" }
serde_json = "1"
tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros"] }
uuid = { version = "1", features = ["v4"] }
# The fork: nordisk/datafusion-ballista, branch nordisk/kleene (the loop, kept state and the
# preferred executor of a partition).
ballista = { git = "ssh://git@git.gunnar.rs:2222/nordisk/datafusion-ballista.git", rev = "440cebc8", default-features = false }
ballista-core = { git = "ssh://git@git.gunnar.rs:2222/nordisk/datafusion-ballista.git", rev = "440cebc8", features = ["build-binary"] }
ballista-executor = { git = "ssh://git@git.gunnar.rs:2222/nordisk/datafusion-ballista.git", rev = "440cebc8", default-features = false, features = ["build-binary"] }
ballista-scheduler = { git = "ssh://git@git.gunnar.rs:2222/nordisk/datafusion-ballista.git", rev = "440cebc8", default-features = false, features = ["build-binary", "rest-api"] }
# The binaries' arguments are Ballista's own (`Config` of the scheduler and the executor).
clap = { version = "4.6", features = ["derive"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
ballista = { git = "ssh://git@git.gunnar.rs:2222/nordisk/datafusion-ballista.git", rev = "440cebc8", features = ["standalone"] }
# The test graph is written as an X.gar (kleene's own writer).
graphar = { git = "ssh://git@git.gunnar.rs:2222/nordisk/graph-ar", rev = "3cd2f7023d281895007b747350440950999f9733", default-features = false, features = ["mapped", "info"] }

# No zstd patch here (kleene's root replaces zstd with the mzstd shim): Ballista turns on
# DataFusion's default features, whose async compression calls zstd's raw stream API, which
# the shim does not have. This crate is optional and outside kleene's build; it compiles the
# C zstd that Ballista brings.

[lints.rust]
unsafe_code = "deny"
missing_docs = "warn"

[lints.clippy]
all = { level = "warn", priority = -1 }

[profile.release]
debug = 1

# For measured binaries: `cargo build --profile measured`, `cargo bench --profile measured`
# (whole-program LTO, one codegen unit; bench/native.md has its build time).
[profile.measured]
inherits = "release"
lto = "fat"
codegen-units = 1