optic-file 0.0.1

Sanitary file I/O and cached path resolution for Optic engine
Documentation
  • Coverage
  • 100%
    10 out of 10 items documented3 out of 9 items with examples
  • Size
  • Source code size: 8.01 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 307.89 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Kono-o/optic-engine
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Kono-o

Sanitary file I/O and cached-path resolution for the Optic engine.

All fallible functions return [OpticResult] wrapping [OpticErrorKind::File] errors with descriptive messages.

Cache path convention

Assets are cached alongside the source file in an optc/ subdirectory:

assets/tex/foo.png     → assets/tex/optc/foo.otxtr
models/cube.obj        → models/optc/cube.omesh
shaders/main.glsl      → shaders/optc/main.oshdr