Skip to main content

Crate arama_env

Crate arama_env 

Source

Modules§

cache_lookup_strategy
target_media_type

Structs§

Settings

Enums§

ThemePreset
User-selectable application theme preset. Maps to the four Snora Design token presets (and, for the base iced theme, to Theme::Light / Dark). Pure data — no GUI dependency, so it lives in arama-env alongside the other persisted setting enums. The token / iced-Theme mapping lives in arama-theme.

Constants§

CACHE_STORAGE_FILE
Current cache database file (v2: localcache-backed format).
CACHE_STORAGE_FILE_V1
Legacy cache database file (v1: file-feature-cache format). Kept only so the one-time migration can locate the old database.
CACHE_THUMBNAIL_DIR
DEFAULT_THUMBNAIL_SIZE
IMAGE_EXTENSION_ALLOWLIST
MAX_THUMBNAIL_SIZE
MIN_IMAGE_SIMILARITY
MIN_SETUP_DISKSPACE_MB
MIN_THUMBNAIL_SIZE
MIN_VIDEO_SIMILARITY
VIDEO_EXTENSION_ALLOWLIST

Functions§

cache_dir
cache_storage_path
cache_storage_path_v1
Path of the legacy (v1) cache database. Used only by the one-time migration at application startup.
cache_thumbnail_dir_path
local_bin_dir
local_dir
validate_dir