#ferrite #settings #default #viewer #path #docker

bin+lib ferrite-config

Configuration management for Ferrite image viewer

22 releases

new 0.1.23 May 3, 2025
0.1.22 Apr 18, 2025
0.1.21 Jan 6, 2025
0.1.17 Dec 31, 2024

#203 in Configuration

Download history 24/week @ 2025-01-08 7/week @ 2025-01-15 1/week @ 2025-01-29 8/week @ 2025-02-05 75/week @ 2025-02-12 19/week @ 2025-02-19 6/week @ 2025-02-26 7/week @ 2025-03-26 171/week @ 2025-04-16 27/week @ 2025-04-23

199 downloads per month
Used in 6 crates

GPL-3.0-or-later

34KB
788 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

~12–50MB
~845K SLoC