[package]
edition = "2024"
rust-version = "1.94"
name = "spate-core"
version = "0.1.0"
authors = ["Marcus Kainth <marcus@kainth.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Engine for the Spate framework: records, operator chains, source/sink abstractions, checkpointing, backpressure, config, metrics, and the pipeline runtime. Applications should depend on the `spate` facade crate instead."
homepage = "https://spate.kainth.dev"
readme = "README.md"
keywords = [
"etl",
"pipeline",
"streaming",
"kafka",
"clickhouse",
]
categories = [
"asynchronous",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/spate-etl/spate"
[lib]
name = "spate_core"
path = "src/lib.rs"
[[test]]
name = "chain_alloc"
path = "tests/chain_alloc.rs"
[[bench]]
name = "chain"
path = "benches/chain.rs"
harness = false
[dependencies.bytes]
version = "1.11.1"
[dependencies.bytesize]
version = "2.4"
features = ["serde"]
[dependencies.core_affinity]
version = "0.8"
[dependencies.crossbeam-channel]
version = "0.5.15"
[dependencies.http-body-util]
version = "0.1.2"
[dependencies.humantime-serde]
version = "1.1"
[dependencies.hyper]
version = "1.10"
features = [
"http1",
"server",
]
[dependencies.hyper-util]
version = "0.1.12"
features = [
"http1",
"server",
"tokio",
]
[dependencies.metrics]
version = "0.24.2"
[dependencies.metrics-exporter-prometheus]
version = "0.18"
default-features = false
[dependencies.metrics-process]
version = "2.4"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_path_to_error]
version = "0.1"
[dependencies.serde_yaml]
version = "0.10"
package = "yaml_serde"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt",
"rt-multi-thread",
"sync",
"time",
"net",
"signal",
]
default-features = false
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.8"
features = [
"fmt",
"json",
"env-filter",
]
default-features = false
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.divan]
version = "0.1.13"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.serde_json]
version = "1.0.145"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.52"
features = [
"macros",
"test-util",
]
default-features = false
[target."cfg(loom)".dependencies.loom]
version = "0.7"
[lints.clippy]
dbg_macro = "warn"
print_stderr = "warn"
print_stdout = "warn"
undocumented_unsafe_blocks = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]