agama/rust/agama-utils
Imobach González Sosa 0a6435b057
Load licenses eagerly in Registry::new instead of tracking a read flag
Registry::new now reads the licenses directory during construction and
returns a Result, so a Registry value always has its licenses loaded.
This replaces the "read: bool" flag and the lazy-load check in find(),
making the "not yet read" state unrepresentable. Registry::default_path()
and Registry::from_default_path() replace the old Default impl, which
could not stay infallible once reading moved into the constructor.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-04 10:55:11 +01:00
..
src Load licenses eagerly in Registry::new instead of tracking a read flag 2026-08-04 10:55:11 +01:00
Cargo.toml move dependencies to workspace for easier sharing of version 2026-06-22 15:33:58 +02:00