24 releases
| 0.1.25 | Jul 21, 2025 |
|---|---|
| 0.1.24 | May 17, 2025 |
| 0.1.22 | Apr 18, 2025 |
| 0.1.21 | Jan 6, 2025 |
| 0.1.17 | Dec 31, 2024 |
#419 in Configuration
40 downloads per month
Used in 5 crates
37KB
786 lines
Ferrite Config
Configuration management for the Ferrite image viewer.
Features
- TOML-based configuration file
- Standard XDG configuration paths
- Sensible defaults
- Serialization/deserialization support
Usage
use ferrite_config::FeriteConfig;
// Load existing config
let config = FeriteConfig::load().unwrap_or_default();
// Save config
config.save().expect("Failed to save config");
// Access settings
println!("Cache size: {}", config.cache_size);
println!("Default zoom: {}", config.default_zoom);
Dependencies
~11–54MB
~867K SLoC