Files
fpv-rid-workbench/Cargo.toml
T
JiuContinent 11b71e5bf2 ```
feat(realtime): 多源观测追踪与启动配置文件支持

- 协议版本升至 3,Target 新增 sources 字段保留各接收器独立观测
- Store 改为按接收器维护 SourceObservation,基于 received_at_ms
  独立执行 TTL 过期,过期后自动 refresh 选取最新有效位置
- refresh() 按时间排序源观测,优先选取有坐标的最近记录
- rid-shared 新增 SourceObservation 结构体
- Observation 验证内联 target_id 规则,长度不超过 192
- DeviceTelemetry 扩展 raw_identity、raw_position、
  coordinate_system、position_unverified、relative_height_m
- 项目级 config.json 支持版本化配置与 sqlite.busy_timeout_ms,
  优先级:环境变量 > config.json > 旧版 maps/config.json
- web-worker 传递 sources 与 position_source 至前端
- 首页标题更新为"凌空智巡无人机监测系统"
```
2026-10-27 15:49:52 +08:00

45 lines
1.4 KiB
TOML

[package]
name = "fpv-rid-registry"
version = "3.0.0"
edition = "2024"
[[bin]]
name = "fpv-rid-registry-fullstack"
path = "src/main.rs"
[workspace]
members = ["crates/rid-shared", "crates/realtime-core", "crates/web-ui", "crates/web-worker", "xtask"]
default-members = [".", "crates/rid-shared", "crates/realtime-core", "xtask"]
resolver = "2"
[dependencies]
axum = { version = "0.8", features = ["ws"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal", "sync", "time", "io-util"] }
tokio-serial = { version = "=5.5.0", default-features = false }
rid-shared = { path = "crates/rid-shared" }
realtime-core = { path = "crates/realtime-core" }
postcard = { version = "1", features = ["alloc"] }
rusqlite = { version = "0.38", features = ["bundled", "backup"] }
sqlx = { version = "0.9", default-features = false, features = ["runtime-tokio", "sqlite-bundled"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.22"
rand = "0.9"
chrono = "0.4"
zip = { version = "4", default-features = false, features = ["deflate"] }
rust_xlsxwriter = "0.90"
fs2 = "0.4"
regex = "1"
reqwest = { version = "=0.13.5", default-features = false, features = ["native-tls", "query", "system-proxy"] }
[dev-dependencies]
tempfile = "3"
tower = { version = "0.5", features = ["util"] }
tokio-tungstenite = "0.29"
futures-util = { version = "0.3", features = ["sink"] }
[profile.release]
lto = true
strip = true
codegen-units = 1