From 1588d43a2d2d7d9d2fdf7578321bf8732d6db5f7 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sun, 29 Nov 2026 22:02:45 -0800 Subject: [PATCH] Nightly: craft-nightly uses the same craft-libs rev as the other crates craft-nightly was still pinned at 1f6c3a21f while every other craft-libs crate moved to aa7e668ec. The newer craft-nightly brings: - craft-libs#4297: profile-root validation requires HOME on Unix and APPDATA and LOCALAPPDATA on Windows, and refuses a configured OS directory that is relative or contains `..` (ProfileError::MissingStableBoundary and InvalidStableBoundary). - craft-libs#4304: a Unix socket (or AF_UNIX socket on Windows) in a profile's single-instance/ folder is accepted when the app lists that folder, and Launch reports whether the launcher's `--` separator was present (passthrough_args_with_launcher_separator). - craft-libs#4309: a Windows test fix only. VectorCraft builds against these without code changes: it does not construct Launch or match ProfileError exhaustively, and its single-instance record is instance.json with a TCP listener. Cargo.lock adds uds_windows (already in the lock) to craft-nightly's dependencies. --- Cargo.lock | 3 ++- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9c3989051d..c2892308bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1814,8 +1814,9 @@ dependencies = [ [[package]] name = "craft-nightly" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=1f6c3a21f85ed96f8fd4ddd5a959d4e1edbedb24#1f6c3a21f85ed96f8fd4ddd5a959d4e1edbedb24" +source = "git+https://github.com/storytold/craft-libs?rev=aa7e668ec6e2f2b723de34dceeb7d756f5ff9f4b#aa7e668ec6e2f2b723de34dceeb7d756f5ff9f4b" dependencies = [ + "uds_windows", "winsafe", ] diff --git a/Cargo.toml b/Cargo.toml index f7aa86aff7..8c2995ce63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,7 @@ craft-color-ui = { git = "https://github.com/storytold/craft-libs", rev = "aa7e6 craft-theme = { git = "https://github.com/storytold/craft-libs", rev = "aa7e668ec6e2f2b723de34dceeb7d756f5ff9f4b" } craft-fonts-build = { git = "https://github.com/storytold/craft-libs", rev = "aa7e668ec6e2f2b723de34dceeb7d756f5ff9f4b" } # Nightly profile isolation, launch protocol, and security fence. -craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "1f6c3a21f85ed96f8fd4ddd5a959d4e1edbedb24" } +craft-nightly = { git = "https://github.com/storytold/craft-libs", rev = "aa7e668ec6e2f2b723de34dceeb7d756f5ff9f4b" } # internal vectorcraft-geom = { path = "crates/geom" } vectorcraft-color = { path = "crates/color" }