openlark 0.18.0

飞书开放平台 Rust SDK - 企业级高覆盖率 API 客户端,极简依赖一条命令
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(missing_docs)]

use openlark_core::config::Config;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config = Config::builder()
        .app_id("test_app_id")
        .app_secret("secret_app_secret_12345")
        .build();
    println!("Config: {:?}", config);
    println!("Debug output successfully masks secrets!");
    Ok(())
}