21 lines
597 B
Rust
21 lines
597 B
Rust
//! 打卡核心库。界面可以直接调用这里的配置、登录、记录和统计,不必经过命令行。
|
|
|
|
mod analyze;
|
|
mod auth;
|
|
mod config;
|
|
mod error;
|
|
mod iepms;
|
|
mod msa;
|
|
mod phone;
|
|
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 phone::{read_phone, save_phone, PhoneIdentity};
|
|
pub use record::PunchRecord;
|
|
pub use report::{load_last_week, load_range, WeekReport};
|