[package]
edition = "2024"
name = "tickbar"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance tick-to-bar aggregator for market data"
readme = "README.md"
keywords = [
"market-data",
"ohlcv",
"tick-aggregation",
"finance",
]
categories = ["data-structures"]
license = "MIT"
repository = "https://github.com/gregorian-09/tickbar"
[package.metadata.docs.rs]
features = [
"python",
"arrow-export",
"polars-export",
]
[features]
arrow-export = ["dep:arrow"]
default = ["python"]
polars-export = [
"dep:polars",
"arrow-export",
]
python = ["dep:pyo3"]
[lib]
name = "tickbar"
crate-type = [
"lib",
"cdylib",
]
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "aggregation"
path = "benches/aggregation.rs"
harness = false
[dependencies.arrow]
version = "58"
features = ["ipc"]
optional = true
default-features = false
[dependencies.csv]
version = "1"
[dependencies.memmap2]
version = "0.9"
[dependencies.polars]
version = "0.53"
optional = true
default-features = false
[dependencies.pyo3]
version = "0.28"
features = ["abi3-py311"]
optional = true
[dependencies.rayon]
version = "1"
[dependencies.smol_str]
version = "0.3"
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.insta]
version = "1"
[dev-dependencies.proptest]
version = "1"