mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-31 02:51:21 +08:00
16 lines
435 B
Rust
16 lines
435 B
Rust
//! Proxy Usage Tracking Module
|
|
//!
|
|
//! 提供 API 请求的使用量跟踪、成本计算和日志记录功能
|
|
|
|
pub mod calculator;
|
|
pub mod logger;
|
|
pub mod parser;
|
|
|
|
// 仅导出内部使用的类型,避免未使用警告
|
|
#[allow(unused_imports)]
|
|
pub use calculator::{CostBreakdown, CostCalculator, ModelPricing};
|
|
#[allow(unused_imports)]
|
|
pub use logger::{RequestLog, UsageLogger};
|
|
#[allow(unused_imports)]
|
|
pub use parser::TokenUsage;
|