V_1.0: Added replay system, indicators, and data services from charting_daavfx

- Added indicatorService.ts with Web Worker pool for background calculations
- Added dataService.ts for Rust backend bridge
- Added replayService.ts for market replay functionality
- Added ReplayControls.tsx component
- Added src/types/indicators.ts with 8 indicator definitions
- Added Rust replay.rs with async commands
- Updated lib.rs with replay state management
- Fixed Tauri imports from @tauri-apps/api/tauri to @tauri-apps/api/core
- Updated Chart.tsx integration with replay controls
This commit is contained in:
daavfx
2026-02-10 18:32:08 -06:00
parent b3ce3d043a
commit 83037a3fdf
18 changed files with 4182 additions and 551 deletions
+19 -91
View File
@@ -75,22 +75,6 @@ version = "1.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
[[package]]
name = "app"
version = "0.1.0"
dependencies = [
"csv",
"encoding_rs",
"log",
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
"tauri-plugin-log",
"uuid",
]
[[package]]
name = "arrayvec"
version = "0.7.6"
@@ -417,8 +401,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2"
dependencies = [
"iana-time-zone",
"js-sys",
"num-traits",
"serde",
"wasm-bindgen",
"windows-link 0.2.1",
]
@@ -691,8 +677,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec"
dependencies = [
"bitflags 2.10.0",
"block2",
"libc",
"objc2",
]
@@ -786,15 +770,6 @@ version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7"
[[package]]
name = "encoding_rs"
version = "0.8.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
dependencies = [
"cfg-if",
]
[[package]]
name = "env_filter"
version = "0.1.4"
@@ -2563,6 +2538,23 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "quantum_bt"
version = "0.1.0"
dependencies = [
"chrono",
"csv",
"log",
"rand 0.8.5",
"rust_decimal",
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-log",
"thiserror 2.0.17",
]
[[package]]
name = "quick-xml"
version = "0.38.4"
@@ -2793,30 +2785,6 @@ dependencies = [
"web-sys",
]
[[package]]
name = "rfd"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a15ad77d9e70a92437d8f74c35d99b4e4691128df018833e99f90bcd36152672"
dependencies = [
"block2",
"dispatch2",
"glib-sys",
"gobject-sys",
"gtk-sys",
"js-sys",
"log",
"objc2",
"objc2-app-kit",
"objc2-core-foundation",
"objc2-foundation",
"raw-window-handle",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"windows-sys 0.60.2",
]
[[package]]
name = "rkyv"
version = "0.7.45"
@@ -3561,46 +3529,6 @@ dependencies = [
"walkdir",
]
[[package]]
name = "tauri-plugin-dialog"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9204b425d9be8d12aa60c2a83a289cf7d1caae40f57f336ed1155b3a5c0e359b"
dependencies = [
"log",
"raw-window-handle",
"rfd",
"serde",
"serde_json",
"tauri",
"tauri-plugin",
"tauri-plugin-fs",
"thiserror 2.0.17",
"url",
]
[[package]]
name = "tauri-plugin-fs"
version = "2.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed390cc669f937afeb8b28032ce837bac8ea023d975a2e207375ec05afaf1804"
dependencies = [
"anyhow",
"dunce",
"glob",
"percent-encoding",
"schemars 0.8.22",
"serde",
"serde_json",
"serde_repr",
"tauri",
"tauri-plugin",
"tauri-utils",
"thiserror 2.0.17",
"toml 0.9.10+spec-1.1.0",
"url",
]
[[package]]
name = "tauri-plugin-log"
version = "2.7.1"