remote_registry 0.1.1
remote_registry: ^0.1.1 copied to clipboard
Pull JSON and binary config files from a CDN-backed registry with SHA-256 integrity, local caching, and bundled-asset fallback.
Changelog #
0.1.1 #
- Accept version strings with or without a leading
v/Vprefix inlatest.json,manifest.json, and the--versionCLI flag. The prefix is stripped before the value is used in URL paths or on-disk layout, so registries emitting either form interoperate cleanly.
0.1.0 #
- Initial release.
RemoteRegistrywith default (app-support dir) and.withStorageconstructors.- Stale-then-refresh
init()with local-cache → bundle → network fallback chain. - SHA-256 integrity verification on all downloads.
- Bounded parallel downloads (default 4 concurrent).
- Version GC (keep last N).
onUpdatestream for background-refresh notifications.sync_bundleCLI for CI asset-seeding.