Restore the non-default OpenJPEG boundary (#107)
Some checks failed
API and SemVer surface / api-surface (push) Failing after 1m30s
Native code generation / deterministic (push) Has been cancelled
First release candidate / non-fuzz-release-gate (push) Has been cancelled
Native Rust workspace compile / compile (push) Has been cancelled
Dependency and supply-chain audit / audit (push) Has been cancelled
Native release artifact audit / audit (push) Successful in 1h14m10s
Concurrency and resource soak audit / soak (push) Successful in 12m54s
Documentation / documentation (push) Failing after 45m9s
Imaging and meshing gate / native (push) Failing after 2m48s
JPEG 2000 feature / linux (push) Successful in 2m43s
performance evidence / audit (push) Failing after 7m22s
Release platform and feature matrix / audit (push) Successful in 59s
Skia feature / linux (push) Has been cancelled
Release platform and feature matrix / matrix (false, linux-stable-minimal, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (false, macos-stable-portable, x86_64-apple-darwin, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (false, windows-stable-portable, x86_64-pc-windows-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-msrv-portable, x86_64-unknown-linux-gnu, 1.96.0) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-default, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-features, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-release-surface, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled

This commit is contained in:
2026-08-12 15:03:41 +00:00
parent b399645430
commit e5cb3c6803
4 changed files with 33 additions and 15 deletions

View File

@@ -62,8 +62,11 @@ def check_features() -> None:
):
raise SystemExit("every platform-specific Skia dependency must stay optional")
workspace = load_toml(ROOT / "Cargo.toml")
if "crates/libremetaverse-openjpeg" not in workspace["workspace"].get("exclude", []):
workspace = load_toml(ROOT / "Cargo.toml")["workspace"]
adapter = "crates/libremetaverse-openjpeg"
if adapter not in workspace.get("members", []):
raise SystemExit("the native OpenJPEG adapter must remain explicitly packageable")
if adapter in workspace.get("default-members", workspace.get("members", [])):
raise SystemExit("the native OpenJPEG adapter must stay outside default workspace builds")