2026-05-23 00:07:07 +02:00
|
|
|
[package]
|
|
|
|
|
name = "wickra-examples"
|
2026-06-06 20:57:31 +02:00
|
|
|
version.workspace = true
|
2026-05-23 00:07:07 +02:00
|
|
|
publish = false
|
|
|
|
|
description = "Runnable Rust examples for the Wickra technical-analysis library."
|
|
|
|
|
authors.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
rust-version.workspace = true
|
2026-06-03 18:49:39 +02:00
|
|
|
license.workspace = true
|
2026-05-23 00:07:07 +02:00
|
|
|
repository.workspace = true
|
|
|
|
|
homepage.workspace = true
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
|
|
[lints]
|
|
|
|
|
workspace = true
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
# All examples sit on top of the indicator engine.
|
|
|
|
|
wickra = { path = "../../crates/wickra" }
|
|
|
|
|
# The data layer is needed by every example except streaming/parallel: CSV
|
|
|
|
|
# reading, the Binance live feed and the resampler all live here. The
|
|
|
|
|
# `live-binance` feature is always on for this crate so the live_binance
|
|
|
|
|
# binary just compiles.
|
|
|
|
|
wickra-data = { path = "../../crates/wickra-data", features = ["live-binance"] }
|
|
|
|
|
# fetch_btcusdt parses the Binance REST kline response.
|
|
|
|
|
serde_json = "1"
|
|
|
|
|
# live_binance uses #[tokio::main]; the current-thread runtime is enough.
|
|
|
|
|
tokio = { version = "1", features = ["rt", "macros"] }
|