optic-file
File I/O and cached-path resolution for the Optic engine.
Provides cached_path() to locate asset files relative to the executable
or the OPTIC_ASSETS environment variable, and read_bytes() / write_bytes()
for sanitised file operations.
use ;
let path = cached_path;
let data = read_bytes?;