refactor: 改为单包结构,库和命令行放在 src
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
//! 打卡核心库。界面可以直接调用这里的配置、登录、记录和统计,不必经过命令行。
|
||||
|
||||
mod analyze;
|
||||
mod auth;
|
||||
mod config;
|
||||
mod error;
|
||||
mod iepms;
|
||||
mod msa;
|
||||
mod record;
|
||||
mod report;
|
||||
|
||||
pub use analyze::{daily_summaries, last_week, DayStatus, DaySummary, SUPPLEMENT_WINDOW_DAYS};
|
||||
pub use auth::{login, LoginSession};
|
||||
pub use config::{AppConfig, DeviceProfile};
|
||||
pub use error::{Error, Result};
|
||||
pub use iepms::IepmsClient;
|
||||
pub use record::PunchRecord;
|
||||
pub use report::{load_last_week, WeekReport};
|
||||
Reference in New Issue
Block a user