ferrite-core

Crates.ioferrite-core
lib.rsferrite-core
version0.1.25
created_at2024-12-16 11:36:12.598872+00
updated_at2025-07-21 14:52:55.575937+00
descriptionCore functionality for Ferrite image viewer
homepage
repositoryhttps://github.com/master-of-zen/ferrite
max_upload_size
id1484904
size151,774
Zen (master-of-zen)

documentation

https://docs.rs/ferrite-core

README

ferrite-core

Core functionality for the Ferrite image viewer. This crate provides the essential building blocks for image viewing, manipulation, and navigation.

Features

  • Fast image loading with LRU caching
  • Smooth zooming and panning
  • Directory-based image navigation
  • Configurable UI elements

Architecture

The crate is organized into several modules:

  • image/ - Image loading, caching, and management
  • ui/ - User interface components and rendering
  • navigation/ - Directory traversal and image navigation

Usage

use ferrite_core::FeriteApp;
use ferrite_config::FeriteConfig;

fn main() {
    let config = FeriteConfig::default();
    let app = FeriteApp::new(
        &eframe::CreationContext::default(),
        Some("path/to/image.jpg".into()),
        config,
    );
}

Dependencies

  • eframe, egui - GUI framework
  • image - Image processing
  • lru - Cache management
  • tracing - Logging and diagnostics
  • ferrite-config - Configuration management

License

Same as Ferrite main project

Commit count: 175

cargo fmt