Files
JE-Skin/src-tauri/src/devkit/mod.rs

13 lines
377 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//! Develop Kit 模块
//!
//! 仅在 `devkit` feature 启用时编译。
//! Rust 端作为 gRPC client将传感器压力矩阵数据实时推送给 Python gRPC server。
mod client;
pub use client::{DevKitConfig, DevKitState, DevKitStatusSnapshot, ExportProcessResult};
// 导入 tonic 生成的 gRPC 代码
pub mod proto {
tonic::include_proto!("sensor_stream");
}