[package]
edition = "2024"
rust-version = "1.88"
name = "ek-ui"
version = "0.9.21"
build = false
exclude = [
"assets/fonts/*",
".cargo/audit.toml",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ek 生态常驻主界面(egui/eframe):插件即界面——观测页 + 日志页,车头与 UI 同插件"
documentation = "https://docs.rs/ek-ui"
readme = "README.md"
keywords = [
"trading",
"egui",
"gui",
"finance",
"futures",
]
categories = [
"finance",
"gui",
]
license = "MIT"
repository = "https://cnb.cool/enkeep/ek-ui"
[features]
bundled-font = []
ctp-native = ["ek-station/ctp-native"]
[lib]
name = "ek_ui"
path = "src/lib.rs"
[[bin]]
name = "ek-ui"
path = "src/main.rs"
[[bin]]
name = "ekapp"
path = "src/bin/ekapp.rs"
[[example]]
name = "clone_account"
path = "examples/clone_account.rs"
[[example]]
name = "demo_multi_check"
path = "examples/demo_multi_check.rs"
[[example]]
name = "demo_silver_tour"
path = "examples/demo_silver_tour.rs"
[[example]]
name = "demo_tour"
path = "examples/demo_tour.rs"
[[example]]
name = "live_kline"
path = "examples/live_kline.rs"
[[example]]
name = "opening_multi_tour"
path = "examples/opening_multi_tour.rs"
[[example]]
name = "secret_get"
path = "examples/secret_get.rs"
[[example]]
name = "set_md"
path = "examples/set_md.rs"
[[example]]
name = "set_td"
path = "examples/set_td.rs"
[[test]]
name = "audit_gate"
path = "tests/audit_gate.rs"
[[test]]
name = "kline_bridge_mock"
path = "tests/kline_bridge_mock.rs"
[[test]]
name = "launch"
path = "tests/launch.rs"
[[test]]
name = "live_multi_accounts"
path = "tests/live_multi_accounts.rs"
[[test]]
name = "pick_ui"
path = "tests/pick_ui.rs"
[[test]]
name = "ui_app_contract"
path = "tests/ui_app_contract.rs"
[[test]]
name = "ui_converter_chain"
path = "tests/ui_converter_chain.rs"
[[test]]
name = "ui_ctp"
path = "tests/ui_ctp.rs"
[[test]]
name = "ui_ctp_live"
path = "tests/ui_ctp_live.rs"
[[test]]
name = "ui_kittest"
path = "tests/ui_kittest.rs"
[[test]]
name = "ui_live_demo"
path = "tests/ui_live_demo.rs"
[[test]]
name = "ui_market"
path = "tests/ui_market.rs"
[[test]]
name = "ui_ops"
path = "tests/ui_ops.rs"
[[test]]
name = "ui_restore"
path = "tests/ui_restore.rs"
[[test]]
name = "ui_runtime"
path = "tests/ui_runtime.rs"
[[test]]
name = "ui_stage"
path = "tests/ui_stage.rs"
[[test]]
name = "ui_stage_flow"
path = "tests/ui_stage_flow.rs"
[[test]]
name = "ui_stage_live_gui"
path = "tests/ui_stage_live_gui.rs"
[[test]]
name = "ui_state"
path = "tests/ui_state.rs"
[dependencies.chrono]
version = "0.4"
[dependencies.eframe]
version = "0.33.3"
features = ["accesskit"]
[dependencies.egui]
version = "0.33.3"
[dependencies.egui-charts]
version = "0.2.0"
[dependencies.egui-notify]
version = "0.21.0"
[dependencies.egui_table]
version = "0.7.0"
[dependencies.ek-cfg]
version = "0.5.6"
[dependencies.ek-core]
version = "0.5.3"
[dependencies.ek-ctp]
version = "0.11.3"
[dependencies.ek-data]
version = "0.2.5"
[dependencies.ek-dm]
version = "0.1.10"
features = ["ui"]
[dependencies.ek-event]
version = "0.1.2"
[dependencies.ek-oms]
version = "0.3.25"
features = ["ui"]
[dependencies.ek-station]
version = "0.4.5"
[dependencies.ek-tq]
version = "0.1.6"
features = ["ui"]
[dev-dependencies.egui_kittest]
version = "0.33.3"