Skip to main content

openlark_helpdesk/
lib.rs

1//! # OpenLark 帮助台模块
2//!
3//! OpenLark SDK 的帮助台模块,提供飞书帮助台 API 的完整访问。
4
5mod service;
6
7/// 帮助台通用工具与端点定义。
8pub mod common;
9
10#[cfg(feature = "v1")]
11/// helpdesk 模块。
12pub mod helpdesk;
13
14/// 帮助台模块常用预导出。
15pub mod prelude;
16
17pub use service::HelpdeskService;
18
19/// 帮助台服务客户端类型别名(统一命名为 `XxxClient`)。
20pub type HelpdeskClient = HelpdeskService;
21
22/// 当前 crate 版本号。
23pub const VERSION: &str = env!("CARGO_PKG_VERSION");
24
25#[cfg(test)]
26#[allow(unused_imports)]
27mod tests {
28    use super::*;
29    #[test]
30    fn test_version() {
31        assert_ne!(VERSION, "");
32    }
33}