- Kernel::search wraps each plugin in catch_unwind; panics are logged and return [] - init_logging() adds daily rolling file at ~/.local/share/k-launcher/logs/ - AppsPlugin caches entries to ~/.cache/k-launcher/apps.bin via bincode; stale-while-revalidate on subsequent launches - 57 tests pass
24 lines
490 B
TOML
24 lines
490 B
TOML
[package]
|
|
name = "plugin-apps"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
name = "plugin_apps"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
bincode = { workspace = true }
|
|
dirs = { workspace = true }
|
|
k-launcher-kernel = { path = "../../k-launcher-kernel" }
|
|
nucleo-matcher = "0.3"
|
|
serde = { workspace = true }
|
|
serde_json = "1.0"
|
|
tokio = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
linicon = "2.3.0"
|
|
xdg = "3"
|