diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-21 20:37:20 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-21 20:37:20 +0900 |
| commit | 3c8ce2b72daccccc88278b8dfbff1a1acc39096c (patch) | |
| tree | 37eee41b0d30fe3ddcd0cd017c0c6987e68ee2fd /Cargo.lock | |
| parent | 8949dfcab0bd81dd475db4cdfe9a3da43d33a5b7 (diff) | |
| download | php-mozart-3c8ce2b72daccccc88278b8dfbff1a1acc39096c.tar.gz php-mozart-3c8ce2b72daccccc88278b8dfbff1a1acc39096c.tar.zst php-mozart-3c8ce2b72daccccc88278b8dfbff1a1acc39096c.zip | |
feat(self-update): implement command to update Mozart via GitHub Releases
Add full self-update functionality: fetch releases from GitHub API,
download platform-specific binaries, atomically replace the running
executable using self-replace, and support --rollback and --preview
flags. Includes backup management and 12 unit tests.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -987,6 +987,7 @@ dependencies = [ "pubgrub", "regex", "reqwest", + "self-replace", "serde", "serde_json", "sha1", @@ -1464,6 +1465,17 @@ dependencies = [ ] [[package]] +name = "self-replace" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03ec815b5eab420ab893f63393878d89c90fdd94c0bcc44c07abb8ad95552fb7" +dependencies = [ + "fastrand", + "tempfile", + "windows-sys 0.52.0", +] + +[[package]] name = "serde" version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" |
