zerolaunch-plugin-api 0.2.1

ZeroLaunch plugin SDK — traits, data types, host API surface.
Documentation
1
2
3
4
5
6
7
8
9
use crate::host::CacheLevel;

/// 插件 SDK 配置。
/// 各字段可选,不需要配置的服务无需设置,使用默认值。
#[derive(Debug, Clone, Default)]
pub struct PluginSdkConfig {
    /// 图标缓存等级。None 时使用默认值 CacheLevel::Full。
    pub icon_cache_level: Option<CacheLevel>,
}