opendeviationbar-streaming 13.64.0

Real-time streaming engine for open deviation bar processing
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93"
name = "opendeviationbar-streaming"
version = "13.64.0"
authors = ["Terry Li <terry@eonlabs.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time streaming engine for open deviation bar processing"
homepage = "https://github.com/terrylica/opendeviationbar"
documentation = "https://docs.rs/opendeviationbar-streaming"
readme = "README.md"
keywords = [
    "finance",
    "trading",
    "streaming",
    "real-time",
]
categories = [
    "finance",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/terrylica/opendeviationbar"
resolver = "2"

[features]
all = [
    "binance-integration",
    "arrow",
]
arrow = [
    "opendeviationbar-core/arrow",
    "dep:arrow-array",
    "dep:arrow-schema",
]
binance-integration = ["opendeviationbar-providers/binance"]
clickhouse-sink = [
    "dep:clickhouse",
    "dep:md5",
    "dep:serde_json",
    "dep:reqwest",
    "dep:backon",
    "dep:parquet",
    "dep:arrow-array",
    "dep:arrow-schema",
    "binance-integration",
]
default = []

[lib]
name = "opendeviationbar_streaming"
path = "src/lib.rs"

[[test]]
name = "command_channel_tests"
path = "tests/command_channel_tests.rs"

[[test]]
name = "gap_edge_cases"
path = "tests/gap_edge_cases.rs"

[[test]]
name = "gap_event_tests"
path = "tests/gap_event_tests.rs"

[[test]]
name = "reconnect_gap_fill"
path = "tests/reconnect_gap_fill.rs"

[dependencies.arrow-array]
version = "58"
optional = true

[dependencies.arrow-schema]
version = "58"
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.backon]
version = "1.6"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clickhouse]
version = "0.14"
features = [
    "inserter",
    "lz4",
]
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.md5]
version = "0.8"
optional = true

[dependencies.opendeviationbar-core]
version = "13.64.0"

[dependencies.opendeviationbar-providers]
version = "13.64.0"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.parquet]
version = "58"
features = [
    "snap",
    "zstd",
    "arrow",
]
optional = true
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "stream",
    "rustls-tls",
    "json",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
    "net",
    "io-util",
    "signal",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.rstest]
version = "0.25"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
    "net",
    "io-util",
    "signal",
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6"