6 releases
Uses new Rust 2024
| new 0.6.5 | May 13, 2026 |
|---|---|
| 0.6.4 | May 7, 2026 |
| 0.6.0 | Apr 27, 2026 |
| 0.5.1 | Apr 10, 2026 |
#8 in #ling-xia
Used in 8 crates
(4 directly)
21KB
430 lines
lingxia-settings
Shared settings/preferences store for LingXia products.
What it provides
- Load/save of JSON settings under the app state directory
- In-process settings cache
- Shared helpers for download directory preferences
Key APIs
load(...),save(...)settings_path(...)get_download_dir(...),set_download_dir(...)
Notes
The schema is intentionally small. This crate is for shared lightweight preferences such as download directory settings. Product-specific settings such as browser proxy configuration or Auto Switch rules should live in their owning product/runtime crate instead of this shared settings crate.
Dependencies
~1.7–2.8MB
~52K SLoC